Documentation

Unity Engine

Download Unity

Unity Engine

BeforeLighting

Before lighting pass in deferred rendering.
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)
BeforeLighting = 6

Remarks

G-buffer will already be rendered and setup for access as shader parameters.