THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/08/2009 at 02:04, xxxxxxxx wrote:
Cinema 4D Version: 11
Platform: Windows ; Mac ; Mac OSX ;
when I check for raybits in a volumetric material during the new R11 GI sampling (prepasses) I can see that there is a certain raybit set for vd->raybit. What is the according bit to check for in that case?
For videopost plugins i can overload the according function but as this is not available in a volume shader I need to know the according bit.
thanks in advance
On 11/08/2009 at 02:27, xxxxxxxx wrote:
It seems that there is no special bit set for the prepass only. In my tests RAY_CURR_REFLECTION, RAY_VOLUMETRICLIGHT, RAY_DIFFUSE_GI and RAY_BLURRY were set. I will ask the developers if the prepass can be detected.
On 11/08/2009 at 02:52, xxxxxxxx wrote:
Please use RayParameter- >gi_prepass.
On 11/08/2009 at 03:08, xxxxxxxx wrote:
Ah! Thank you Matthias for the quick help.