1.3.1 update. compatibility w/ newer versions of source ports.
This commit is contained in:
parent
efc08c3d16
commit
1583863894
16 changed files with 58 additions and 205 deletions
|
|
@ -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).xy-1.;
|
||||
|
|
@ -13,5 +8,7 @@ vec4 ProcessTexel()
|
|||
dist.y *= abs(mod(dist.x+timer*5.45363,4.)-2.)-1.;
|
||||
coord.y -= dist.y*.09;
|
||||
coord.y = clamp(coord.y,0.,1.);
|
||||
return getTexel(coord);
|
||||
mat.Base = getTexel(coord);
|
||||
mat.Bright = vec4(1.); // force fullbright
|
||||
mat.Normal = ApplyNormalMap(vTexCoord.st);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue