class

PointClickEngine::Graphics::Shaders::Retro::CRTEffect

Inherits PointClickEngine::Graphics::Shaders::ShaderEffect < Reference < Object

CRT monitor effect with scanlines and curvature

Constructors

create

Create CRT shader from code

Source

Instance methods

aberration
Source
aberration=(aberration : Float32)
Source
curvature
Source
curvature=(curvature : Float32)
Source
scanline_intensity
Source
scanline_intensity=(scanline_intensity : Float32)
Source
setup_uniforms

Setup uniform locations (override in subclasses)

Source
update_uniforms(time : Float32)

Update shader uniforms before rendering

Source
vignette
Source
vignette=(vignette : Float32)
Source