ImageEffectOpaque
Any Image Effect with this attribute will be rendered after opaque geometry but before transparent geometry.
Read time 3 minutesLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
public sealed class ImageEffectOpaque : Attribute
Remarks
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.