class

PointClickEngine::Graphics::Effects::SceneEffects::RainShader

Inherits PointClickEngine::Graphics::Effects::SceneEffects::ShaderSceneEffect < PointClickEngine::Graphics::Effects::SceneEffects::BaseSceneEffect < PointClickEngine::Graphics::Effects::Effect < Reference < Object

Shader-based rain effect

Constructors

new(rain_intensity : RainIntensity = RainIntensity::Medium, wind_strength : Float32 = 0.2_f32, duration : Float32 = 0.0_f32)
Source

Instance methods

apply(context : EffectContext)

Apply effect to target (implemented by subclasses)

Source
clone
Source
depth_layers
Source
depth_layers=(depth_layers : Int32)
Source
fragment_shader_source

Abstract method to get fragment shader source

Source
rain_color
Source
rain_color=(rain_color : RL::Color)
Source
rain_intensity
Source
rain_intensity=(rain_intensity : RainIntensity)
Source
splash_enabled
Source
splash_enabled=(splash_enabled : Bool)
Source
vertex_shader_source

Abstract method to get vertex shader source

Source
wind_strength
Source
wind_strength=(wind_strength : Float32)
Source