Documentation

Unity Engine

Download Unity

Unity Engine

ImageEffectOpaque

Any Image Effect with this attribute will be rendered after opaque geometry but before transparent geometry.
Read time 3 minutesLast updated a day ago

Definition

Warning
Deprecated. ImageEffectOpaque is deprecated and will be removed in a future release. It's used only by the Built-In Render Pipeline, which is no longer supported. To create custom fullscreen effects in the Universal Render Pipeline (URP), use a ScriptableRenderPass instead.
public sealed class ImageEffectOpaque : Attribute

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. To create a full-screen effect in the Universal Render Pipeline (URP), use the Full Screen Pass Renderer Feature.
This allows for effects which extensively use the depth buffer (SSAO, etc) to affect only opaque pixels. This attribute can be used to reduce the amount of visual artifacts in a Scene with post processing.

Inheritance

Inherited Members