Shader fixes for Delta Touch.

This commit is contained in:
Marisa the Magician 2023-11-29 19:36:38 +01:00
commit df55aa4cc7
8 changed files with 40 additions and 40 deletions

View file

@ -1,6 +1,6 @@
void SetupMaterial( inout Material mat )
{
mat.Base = texture(scrtex,vec2(vTexCoord.s,1.-vTexCoord.t));
mat.Base = vec4(texture(scrtex,vec2(vTexCoord.s,1.-vTexCoord.t)).rgb,1.);
mat.Normal = ApplyNormalMap(vTexCoord.st);
mat.Bright = vec4(1.);
}