GBuffer2
Deferred shading G-buffer #2 (typically normals).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
GBuffer2 = 12
Remarks
Built-in deferred shaders put world-space normals into RGB channels of this texture. But your own custom shaders could be outputting anything there of course.
Additional Resources: CommandBuffer.