ultranew_b
08-15-2007, 10:32 PM
Working on a new level with some tree models. I would like to apply a sine proxy to get the leaf textures "swaying". I've applied a scrolling material proxy to the ice texture in dod_flurry, so I have a basic understanding.
There is a page at the Valve Wiki re: proxies:
http://developer.valvesoftware.com/wiki/Material_Proxies
This is my current .vmt that does not work:
"VertexLitGeneric"
{
"$baseTexture" "models\mytreemodel"
"$alphatest" 1
"$nocull" 1
"Proxies"
{
"Sine"
{
"resultVar" "$baseTextureTransform"
"sineperiod" 8
"sinemin" 0
"sinemax" 1
}
}
}
If anyone has some insight on this it would be greatly appreciated !
:)
There is a page at the Valve Wiki re: proxies:
http://developer.valvesoftware.com/wiki/Material_Proxies
This is my current .vmt that does not work:
"VertexLitGeneric"
{
"$baseTexture" "models\mytreemodel"
"$alphatest" 1
"$nocull" 1
"Proxies"
{
"Sine"
{
"resultVar" "$baseTextureTransform"
"sineperiod" 8
"sinemin" 0
"sinemax" 1
}
}
}
If anyone has some insight on this it would be greatly appreciated !
:)