class

PointClickEngine::Graphics::Effects::PostProcessing::GlowShader

Inherits PointClickEngine::Graphics::Effects::ShaderEffect < PointClickEngine::Graphics::Effects::Effect < Reference < Object

Shader-based glow effect

Constructors

new(glow_mode : GlowMode = GlowMode::Simple, threshold : Float32 = 0.8_f32, duration : Float32 = 0.0_f32)
Source

Instance methods

apply(context : EffectContext)

Apply the effect (must be implemented by subclasses)

Source
blur_passes
Source
blur_passes=(blur_passes : Int32)
Source
blur_scale
Source
blur_scale=(blur_scale : Float32)
Source
clone
Source
fragment_shader_source

Abstract method to get fragment shader source

Source
glow_mode
Source
glow_mode=(glow_mode : GlowMode)
Source
intensity
Source
intensity=(intensity : Float32)
Source
lens_dispersion

Lens glow properties

Source
lens_dispersion=(lens_dispersion : Float32)

Lens glow properties

Source
lens_halo_width
Source
lens_halo_width=(lens_halo_width : Float32)
Source
render_scene_with_glow
Source
select_color

Selective glow properties

Source
select_color=(select_color : RL::Color)

Selective glow properties

Source
select_tolerance
Source
select_tolerance=(select_tolerance : Float32)
Source
threshold
Source
threshold=(threshold : Float32)
Source
tint_color
Source
tint_color=(tint_color : RL::Color)
Source
vertex_shader_source

Abstract method to get vertex shader source

Source