Battlefront-1-And-2-Assets/FX_Files/rain.fx

52 lines
974 B
HLSL

// light rain
Effect("Precipitation")
{
Enable(1);
Type("Streaks");
Range(12.5);
Color(216, 220, 228);
VelocityRange(1.0);
ParticleDensityRange(0.0);
CameraCrossVelocityScale(0.2);
CameraAxialVelocityScale(1.0);
GroundEffect("com_sfx_rainsplash");
GroundEffectSpread(8);
PC()
{
AlphaMinMax(0.3, 0.45);
ParticleSize(0.02);
ParticleDensity(256.0);
Velocity(9.0);
StreakLength(1.0);
GroundEffectsPerSec(15);
}
}
// heavy rain
Effect("Precipitation")
{
Enable(1);
Type("Streaks");
Range(12.5);
Color(216, 220, 228);
VelocityRange(1.0);
ParticleDensityRange(0.0);
CameraCrossVelocityScale(0.2);
CameraAxialVelocityScale(1.0);
GroundEffect("com_sfx_rainsplash");
GroundEffectSpread(8);
PC()
{
AlphaMinMax(0.3, 0.45);
ParticleSize(0.02);
ParticleDensity(512.0);
Velocity(15.0);
StreakLength(4.0);
GroundEffectsPerSec(15);
}
}