1.3.1 update. compatibility w/ newer versions of source ports.

This commit is contained in:
Marisa the Magician 2025-11-01 13:32:57 +01:00
commit 1583863894
16 changed files with 58 additions and 205 deletions

View file

@ -1,9 +1,4 @@
vec4 ProcessLight( vec4 color )
{
return vec4(1.);
}
vec4 ProcessTexel()
void SetupMaterial( inout Material mat )
{
vec2 coord = vTexCoord.st;
vec2 dist = 2.*texture(warptex,vTexCoord.st*.6).xy-1.;
@ -14,5 +9,7 @@ vec4 ProcessTexel()
coord.y -= dist.y*.09;
coord.x += timer*.05346;
coord.y += timer*.03425;
return getTexel(coord);
mat.Base = getTexel(coord);
mat.Bright = vec4(1.); // force fullbright
mat.Normal = ApplyNormalMap(vTexCoord.st);
}