1.3.1 update. compatibility w/ newer versions of source ports.
This commit is contained in:
parent
66fdfe4197
commit
23c58058f3
23 changed files with 69 additions and 140 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue