Jump to content

Shaders base color mismatch


Recommended Posts

Hello guys,
I'm going crazy with color management in Houdini, I set a base color in a Mantra shader using RGB values taken from an Arnold for Maya aiStandard shader. The result color is different, in Houdini it's not correct, it's not linearized. Has it to be linearized manually ? Just to understand if this is the normal workflow because all the other color settings are set to linear by default, only the base color seems to have this problem. 

Thank you

Ray

colors.jpg

Link to comment
Share on other sites

This is the correct way for you to see the colors. Maya was very bad at linear workflow (at least before) and you have to compensate for that. Houdini is working correctly and if you want to look at linear colors you need to disable gamma where you need it. But after all, the final product should have gamma 2.2 because of how human eyes sees and how monitor works, and all the calculations behind the screen are (and should be) done linearly.

Link to comment
Share on other sites

Now that I know I have to manually linearize the colors there is no problem, but it seems to me like a bug because everything else in Houdini in linearized by default, textures for example, if they are 8bit they are linearized. 

If I take RGB values in Photoshop of the red color I posted yesterday, and put them in Maya (Arnold), the result is the red color of Photoshop. But if I do it in Houdini the result is an orange, both on the color picker and the surface, until I use a pow function to correct it. This doesn't happen with textures ...

Anyway no problem, now that I know everything is ok :)

 

 

Link to comment
Share on other sites

Well you have to take account for how images are stored. Most of the 8-bit images are gamma corrected, but 16 and 32 bit images are linear. So it depends how the program reads the file and removes the gamma or you have to do it manually. So if you write linear image in Photoshop and read it as linear in Maya/Houdini, its all good. But if you write gamma corrected image and read it as linear in Maya/Houdini, then you have a problem. You need to be aware of colorspace if you want to have correct color output :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...