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

This commit is contained in:
Marisa the Magician 2025-11-01 13:49:28 +01:00
commit 23c58058f3
23 changed files with 69 additions and 140 deletions

View file

@ -1,4 +1,4 @@
vec4 ProcessTexel()
void SetupMaterial( inout Material mat )
{
vec2 uv = vTexCoord.st;
uv.x += 1.;
@ -18,5 +18,6 @@ vec4 ProcessTexel()
uv2 = vec2(uv.x*cos(ang)-uv.y*sin(ang),uv.y*cos(ang)+uv.x*sin(ang))*1.2;
col += getTexel(fract(uv2));
col *= .5;
return col;
mat.Base = col;
mat.Normal = ApplyNormalMap(vTexCoord.st);
}