Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Math Functions turn Colored Images into greyscale #703

Open
mrjustaguy opened this issue Aug 20, 2024 · 1 comment
Open

Math Functions turn Colored Images into greyscale #703

mrjustaguy opened this issue Aug 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mrjustaguy
Copy link

Material Maker version:

1.3

OS/device including version:

Windows 11

Issue description:

The Input and Output of this should be the same, as x+0=x, but they're not.
Other math operations also have the same issue, such as x*1 which should output x but also returns greyscale

Input:
image

Output:
image

Steps to reproduce:
Apply Math to anything with Color
Get incorrect Greyscale Output

@mrjustaguy mrjustaguy added the bug Something isn't working label Aug 20, 2024
@williamchange
Copy link
Contributor

Math only outputs greyscale images and takes in greyscale inputs, for colors they are implicitly converted to greyscale by taking the average of the RGB channels(similar as greyscale node set to Average mode), if you want to process colors you can use e.g. a vec3 math node

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants