incorrect specular channel property ids
-
hi,
just FYI, some of the specular channel properties give (sometimes completely) wrong ids when dragged to the console...
eg.
c4d.REFLECTION_LAYER_MAIN_VALUE_ROUGHNESSLINK
should be
c4d.REFLECTION_LAYER_MAIN_SHADER_ROUGHNESSc4d.REFLECTION_LAYER_FRESNEL_VALUE_STRENGTHREAL
should be
c4d.REFLECTION_LAYER_FRESNEL_VALUE_STRENGTHetc
best, index
-
Hi @indexofrefraction you should use
REFLECTION_LAYER_MAIN_SHADER_ROUGHNESS
forREFLECTION_LAYER_MAIN_VALUE_ROUGHNESSLINK
and you are right for the second this isREFLECTION_LAYER_FRESNEL_VALUE_STRENGTH
The bug you mention was already reported in How to set a Shader for Roughness ???? and so far have not been fixed. If you want to know the real Id you can take a look at c4d_reflection.h
Cheers,
Maxime. -
tx, i just wanted to report it...
-