Documentation

Unity Engine

Download Unity

Unity Engine

AfterGBuffer

After deferred rendering G-buffer is rendered.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
Deprecated. CameraEvent is deprecated and will be removed in a future release. It has no effect because the Built-In Render Pipeline is removed. To inject rendering commands, use a ScriptableRenderPass in the Universal Render Pipeline (URP) or a Custom Pass in the High Definition Render Pipeline (HDRP) instead. #from(7000.0)
AfterGBuffer = 5

Remarks

Will be called immediately after all objects are rendered into G-buffer. The G-buffer render target(s) will be active, however they will not be set up as shader properties yet.
Generally the CameraEvent.BeforeLighting event is probably a better place to start doing custom G-buffer modifications.