On 29/10/2015 at 10:44, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) :
---------
Hi! In my shader, I'm reading a color user data field and return that color from Output(). The problem
is that this color looks different than what the color would look like if I used it directly in a Color shader
or the Color field of the Material channel. However, this is only when Linear Workflow is enabled.
I've only found this topic and I tried calling InitRenderStruct::TransformColor() before I return the
color from ShaderData::Output(), but it did not change the result at all.
return this->_irs->TransformColor(resultColor);
I don't know how to fix this, any ideas? Thanks in advance.
-N