Files
tech5/bin/base/generated/decls/renderprog/particleaddaltemissive.decl
2026-08-09 04:23:10 -07:00

22 lines
406 B
Plaintext

{
inherit particleAddAlt
parms {
stageSort sortEmitOnly
exposure exposure * glarePreScale
}
state {
blend GL_ONE GL_ONE
depthmask
}
hlsl_fp {
#define PARTICLE_FP_ALT
#include "particle_fp.inc"
// additive, so the fog is just a modulate instead of a blend
color.xyz *= fogVal;
result.color.xyz = ( color.xyz * fragment.color.xyz ) * fragment.color.w;
result.color.w = 1.0;
}
}