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,9 +1,10 @@
|
|||
vec4 ProcessTexel()
|
||||
void SetupMaterial( inout Material mat )
|
||||
{
|
||||
vec3 base = getTexel(vTexCoord.st).rgb;
|
||||
vec2 scroll = vTexCoord.st*.5+vec2(.2,.5)*timer;
|
||||
float smk = texture(smoketex,scroll).x;
|
||||
scroll = vTexCoord.st*.9+vec2(-.2,.4)*timer;
|
||||
smk *= texture(smoketex,scroll).x;
|
||||
return vec4(base*smk,1.);
|
||||
mat.Base = vec4(base*smk,1.);
|
||||
mat.Normal = ApplyNormalMap(vTexCoord.st);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue