waves?

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728

phantombadger

L2: Junior Member
Sep 20, 2008
56
1
OK. so what all do I need then.

the SINE and proxy lines in VMT
{
$basetexture shadertest/LightmappedTexture

Proxies // proxies are listed inside this block
{
Sine // a proxy which produces a sine wave
{
resultVar $alpha // The shader parameter to be manipulated
sineperiod 8
sinemin 0
sinemax 1
}
}
}


OK so from my understanding is that the SINE proxy adds a wave to the alpha layer making it appear to move. in this example its 8 waves 1 unit high.


Edit* texturescroll and SINE dont agree.
 
Last edited:

phantombadger

L2: Junior Member
Sep 20, 2008
56
1
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/lava/lava.vmt
UnlitGeneric, Proxies, 1, (*TextureScroll*),

this what I get on compile.
isolated both scroll and Sine, both work independent.
 

phantombadger

L2: Junior Member
Sep 20, 2008
56
1
ive checked it a million times. even re-wrote each proxy block, both work separate but not together.

Or it takes a million and one. it wasnt till I posted it in here that I found the extra {