Skip to content

Effects

Brine2D

Brine2D.Rendering.SDL.PostProcessing.Effects Namespace

Classes
BlurEffect Two-pass Gaussian blur post-processing effect. Uses a single shader with uniforms to control blur direction.
GrayscaleEffect Post-processing effect that converts the image to grayscale. Uses pre-compiled SPIRV/DXIL shaders embedded as resources. Luminance calculation: 0.299*R + 0.587*G + 0.114*B
PassThroughEffect Simple pass-through effect that copies source to target with no modifications. Useful for validating the post-processing pipeline works correctly.