Skip to content

isuvrendering

Context(s)displace fog light shadow surface

int  isuvrendering()

Returns 1 if the shader is being called while evaluating uv rendering (texture unwrapping), and 0 for normal rendering.

Use this function to evaluate shaders differently when baking illumination.