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
|
|
@ -33,7 +33,7 @@ float fbm(vec2 uv)
|
|||
return f;
|
||||
}
|
||||
|
||||
vec4 ProcessTexel()
|
||||
void SetupMaterial( inout Material mat )
|
||||
{
|
||||
vec2 uv = vTexCoord.st;
|
||||
uv.y = 1.0-uv.y;
|
||||
|
|
@ -46,5 +46,6 @@ vec4 ProcessTexel()
|
|||
float c1 = n * c * (1.5-pow(1.25*uv.y,4.));
|
||||
c1=clamp(c1,0.,1.);
|
||||
vec3 col = vec3(c1*c1*c1*c1,1.2*c1*c1*c1,1.7*c1*c1);
|
||||
return vec4(col,1.0);
|
||||
mat.Base = vec4(col,1.0);
|
||||
mat.Normal = ApplyNormalMap(vTexCoord.st);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue