swwmgz_m/shaders/glsl/BrightCanvas.fp
Marisa the Magician b9cfcaee04 Quadravol can be picked up and selected, more later.
Removed subpixel shader (causes rendering issues).
2022-08-13 20:27:51 +02:00

8 lines
277 B
GLSL

// Make canvas textures fullbright, basically
void SetupMaterial( inout Material mat )
{
mat.Base = texture(scrtex,vec2(vTexCoord.s,1.-vTexCoord.t)); // canvas textures are upside-down when used by models
mat.Normal = ApplyNormalMap(vTexCoord.st);
mat.Bright = vec4(1.);
}