Skip to content

GrayscaleEffect.Intensity Property

Definition

Namespace: Brine2D.Rendering.SDL.PostProcessing.Effects

Grayscale intensity \(0\.0 = original color, 1\.0 = full grayscale\). Requires the grayscale fragment shader to declare a uniform buffer at slot 0.

C#
public float Intensity { get; set; }

Property Value

System.Single