gzdoom-gles/wadsrc/static/shaders/glsl/func_normal.fp

8 lines
160 B
GLSL

Material ProcessMaterial()
{
Material material;
material.Base = getTexel(vTexCoord.st);
material.Normal = ApplyNormalMap(vTexCoord.st);
return material;
}