Fixed the sizes and offsets of player models. Adjusted weapon offsets to be more in line with the originals. Implemented all armors and most of the usable items. Add lights to some item pickups. This might get done to DT too. Key display on both HUD types, along with some fixes. ASMD has complete animations. Other weapons will follow.
9 lines
265 B
GLSL
9 lines
265 B
GLSL
vec4 ProcessTexel()
|
|
{
|
|
vec3 base = getTexel(vTexCoord.st).rgb;
|
|
vec2 scroll = vTexCoord.st*.5+vec2(.2,.5)*timer;
|
|
float smk = texture(smoketex,scroll).x;
|
|
scroll = vTexCoord.st*.9+vec2(-.2,.4)*timer;
|
|
smk *= texture(smoketex,scroll).x;
|
|
return vec4(base*smk,1.);
|
|
}
|