68 lines
1.1 KiB
HLSL
68 lines
1.1 KiB
HLSL
// light snow
|
|
Effect("Precipitation")
|
|
{
|
|
Enable(1);
|
|
Type("Quads");
|
|
Texture("fx_snow");
|
|
ParticleSize(0.015);
|
|
Color(255, 255, 255);
|
|
Range(15.0);
|
|
Velocity(2.0);
|
|
VelocityRange(0.8);
|
|
|
|
PC()
|
|
{
|
|
ParticleDensity(100.0);
|
|
}
|
|
ParticleDensityRange(0.0);
|
|
CameraCrossVelocityScale(1.0);
|
|
CameraAxialVelocityScale(1.0);
|
|
AlphaMinMax(0.3, 0.45);
|
|
RotationRange(2.0);
|
|
}
|
|
|
|
// heavy snow
|
|
Effect("Precipitation")
|
|
{
|
|
Enable(1);
|
|
Type("Quads");
|
|
Texture("fx_snow");
|
|
ParticleSize(0.015);
|
|
Color(255, 255, 255);
|
|
Range(15.0);
|
|
Velocity(4.0);
|
|
VelocityRange(0.8);
|
|
|
|
PC()
|
|
{
|
|
ParticleDensity(256.0);
|
|
}
|
|
ParticleDensityRange(2.0);
|
|
CameraCrossVelocityScale(1.0);
|
|
CameraAxialVelocityScale(1.0);
|
|
AlphaMinMax(0.3, 0.45);
|
|
RotationRange(2.0);
|
|
}
|
|
|
|
// blizzard
|
|
Effect("Precipitation")
|
|
{
|
|
Enable(1);
|
|
Type("Quads");
|
|
Texture("fx_snow");
|
|
ParticleSize(0.025);
|
|
Color(255, 255, 255);
|
|
Range(15.0);
|
|
Velocity(-0.3);
|
|
VelocityRange(1);
|
|
PC()
|
|
{
|
|
ParticleDensity(500.0);
|
|
}
|
|
ParticleDensityRange(4.0);
|
|
CameraCrossVelocityScale(0.5);
|
|
CameraAxialVelocityScale(1.0);
|
|
AlphaMinMax(0.5, 0.9);
|
|
RotationRange(25);
|
|
}
|