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

@ -10,10 +10,11 @@ vec3 bolt( in vec2 uv, in float speed, in float freq )
return col;
}
vec4 ProcessTexel()
void SetupMaterial( inout Material mat )
{
vec3 col = bolt(vTexCoord.st,1.53534,0.51);
col += bolt(vTexCoord.st,1.64563,0.62);
col += bolt(vTexCoord.st,1.73425,0.73);
return vec4(col,1.);
mat.Base = vec4(col,1.);
mat.Normal = ApplyNormalMap(vTexCoord.st);
}