SHADER_ENVREQUIRED

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 24/03/2007 at 07:45, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   9,6 
Platform:   Windows  ; Mac  ;  Mac OSX  ; 
Language(s) :     C++  ;

---------
Hi,

the topic is selfexplanatory 🙂 I want to know what the flag SHADER_ENVREQUIRED for MaterialData actually gives to the shader. What is Environement reflection data? How can I get it? How can I use it? Is there any info about it in the docs?

Thank you!
Best
Samir

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 26/03/2007 at 03:16, xxxxxxxx wrote:

quote from the developers (in german)

ENVREQUIRED veranlasst, dass (falls nicht eh schon shader_reflectance zurückgegeben wurde), dass der reflektierte Strahl korrekt eingetragen ist. Ansonsten ist der undefiniert.

hope that helps

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 26/03/2007 at 04:49, xxxxxxxx wrote:

Yep, it does! Thanks!