Shaders

All the shaders included in AdaptiveGI.

Only use these shaders if you aren't using deferred rendering! Otherwise, GI will be rendered twice!

AdaptiveGI/Lit

A shader graph version of Universal Render Pipeline/Lit that supports AdaptiveGI. Consider using a permutation of AdaptiveGI/Optimized Lit if you aren't using advanced features of the URP Lit shader.

AdaptiveGI/Terrain/Lit

A shader graph version of Universal Render Pipeline/Terrain/Lit that supports AdaptiveGI. Supports a maximum of 4 terrain layers. If more layers are needed, consider deferred rendering or a custom terrain shader.

AdaptiveGI/Optimized Lit/Lit_(B)(E)(M)(N)(O)

Due to shader graph variant limitations and for shader compilation speed, the base AdaptiveGI/Lit shader includes all features of the URP Lit shader. This negatively impacts performance, since unused features will still be calculated on the GPU. Optimzed Lit exists to provide a way to strip unused shader features manually. Each letter after the underscore represents a shader feature that permutation has from the list below.

  • B: Base Color

  • E: Emission

  • M: Metallic/Smoothness

  • N: Normal

  • O: Occlusion

For example, if your material is only going to use Base Color and Normal maps, you would use the AdaptiveGI/Optimized Lit/Lit_BN shader.

Note that even though some features will be disabled on the Optimzed Lit variants, the editor UI will look the same. This is due to the Unity URP editor script requiring all properties to be defined, even if they are unused.

AdaptiveGI/Autodesk Interactive/Autodesk Interactive

A version of Universal Render Pipeline/Autodesk Interactive/Autodesk Interactive that supports AdaptiveGI.

AdaptiveGI/Autodesk Interactive/Autodesk Interactive Masked

A version of Universal Render Pipeline/Autodesk Interactive/Autodesk Interactive Masked that supports AdaptiveGI.

AdaptiveGI/Autodesk Interactive/Autodesk Interactive Transparent

A version of Universal Render Pipeline/Autodesk Interactive/Autodesk Interactive Transparent that supports AdaptiveGI.

Last updated