gzdoom/wadsrc/static/shaders/scene/material_legacy_ptexel.glsl

10 lines
210 B
Text
Raw Normal View History

2023-03-19 06:18:12 +00:00
vec4 ProcessTexel();
void SetupMaterial(inout Material material)
{
material.Base = ProcessTexel();
material.Normal = ApplyNormalMap(vTexCoord.st);
material.Bright = texture(brighttexture, vTexCoord.st);
}