class

Opal::Shader::VignettePass

Inherits Opal::Shader::Pass < Reference < Object

Built-in Radial Vignette spotlight shader pass

Constructors

new(region : Rect | Nil = nil, radius : Float64 = 0.8, falloff : Float64 = 0.5)
Source

Instance methods

apply(source : UI::Buffer, target : UI::Buffer, time : Float64, frame : UInt64) : Nil
Source
falloff
Source
falloff=(falloff : Float64)
Source
radius
Source
radius=(radius : Float64)
Source