CalcRestrictionInc for volume shader?



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

    On 28/11/2006 at 09:47, xxxxxxxx wrote:

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

    ---------
    Hi,

    I have an environement volume shader. Is there a way to use CalcRestrictionInc also for this kind of shaders? If so, how is it done? The function requires a RayObject to be passed, but all I can find is a RayEnvironement() object.

    Any ideas or must I use an own Exclude field?

    Thanks


Log in to reply