67 lines
1.1 KiB
HLSL
67 lines
1.1 KiB
HLSL
// regular ember
|
|
Effect("Precipitation")
|
|
{
|
|
Enable(1);
|
|
Type("Quads");
|
|
Texture("fx_ember");
|
|
ParticleSize(0.025);
|
|
Color(255, 255, 255);
|
|
Range(15.0);
|
|
Velocity(-0.3);
|
|
VelocityRange(1);
|
|
PC()
|
|
{
|
|
ParticleDensity(20.0);
|
|
}
|
|
ParticleDensityRange(0.0);
|
|
CameraCrossVelocityScale(0.5);
|
|
CameraAxialVelocityScale(1.0);
|
|
AlphaMinMax(0.5, 0.9);
|
|
RotationRange(25);
|
|
}
|
|
|
|
// light ember
|
|
Effect("Precipitation")
|
|
{
|
|
Enable(1);
|
|
Type("Quads");
|
|
Texture("fx_ember");
|
|
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_ember");
|
|
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);
|
|
} |