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,2.53534,0.21);
|
||||
col += bolt(vTexCoord.st,2.64563,0.32);
|
||||
col += bolt(vTexCoord.st,2.73425,0.43);
|
||||
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