Is Fog Ray
VEX node
Returns 1 if the shader is being evaluated from within a fog shader.
See also: Is Shadow Ray, Ray Bounce Level, Ray Bounce Weight
This operator returns 1 if the shader is being evaluated from within a fog shader. That is, if lighting is being computed for fog shading, the output will be 1. If lighting is being computed for surface shading, the output will be 0.
Usages in other examples
| Example name | Example for |
|---|