Shader Keywords

Adaptive GI Renderer Feature

You may want to be able to check if the Adaptive GI Renderer Feature is active from within a shader. You can check this with the following global shader properties:

Keyword

ADAPTIVEGI_RENDERER_FEATURE

This keyword is defined if the Adaptive GI Renderer Feature is active.

Float

_AdaptiveGI_Renderer_Feature

This float is 1 if the Adaptive GI Renderer Feature is active, 0 if not.

Last updated