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
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
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.