swwmgz_m/shaders/glsl/Shinemask.fp
Marisa Kirisame 72c4a81ff0 A whole lot of stuff, whew:
- All ammo pickups done.
 - All weapons basic properties and spawn state set.
 - Implement Hammerspace Embiggener.
 - Corrections to lore stuff and other info.
 - Separated Hellblazer ammo between mags and single units.
 - Fix fourth healthbar being the same color as third.
 - Added "abstract" to some classes, just for safety.
 - Dashing and ramming tweaks.
 - Dashing no longer cancels when getting hurt.
 - Tiny menu fixes.
2020-01-30 22:58:10 +01:00

7 lines
230 B
GLSL

vec4 ProcessTexel()
{
vec4 base = getTexel(vTexCoord.st);
float mask = texture(masktex,vTexCoord.st).x;
vec3 rnorm = normalize(vEyeNormal.xyz)*(1,-1,1);
return vec4(base.rgb+texture(envtex,rnorm.xy*.49+.5).rgb*mask,base.a);
}