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
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue