THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/12/2010 at 04:09, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.5-12
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Hi,
I have a volumetric environement shader and I would like to know which structure I need to change to make volumetric lights react to my shader and cast volumetric shadows.
I have no surface (CalcSurface returns vd->trans = 1.0) in my shader but volumetrics and I am already casting "normal" shadows (CalcTransparency) but this does not affect the "volumetric light" part. Pyrocluster can do it so I assume it must be possible to do this in an environement object, I just see now way in the sdk how to accomplish this. This is really important and it would be great if you (sdk support) could let me knowif it´s possible or not and if so what light information to modify or which function to overload. Really appreciated.
Thanks