swwmgz_m/shaders/glsl/PerfectlyGeneric.fp
Marisa Kirisame 37a05c0db2 Moth plushy pushed to post-release update, replaced by generic cube.
Added lore entries for post-release collectibles.
Fix incorrect scaling of Demolitionist sprites in Doom 2 cast sequence.
2021-01-29 17:21:19 +01:00

8 lines
238 B
GLSL

vec4 ProcessTexel()
{
vec3 light = vec3(-.6,.7,.8);
vec4 col = getTexel(vTexCoord.st);
col.rgb *= max(dot(normalize(vEyeNormal.xyz),light),.25);
col.rgb += vec3(.2)*pow(max(dot(normalize(vEyeNormal.xyz),light),0.),4.);
return col;
}