TextureScroll: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(stub'd)
 
(Hey, somebody will need it.)
Line 1: Line 1:
{{stub}}
{{stub}}
Put this code into your VMT. You can switch $baseTextureTransform with $bumpTransform
LightmappedGeneric
{
Proxies
{
TextureScroll
{
texturescrollvar $baseTextureTransform
texturescrollrate 1.0
texturescrollangle 0.00
}
}
}
Apparently it makes things scroll.
Check out [[Creating a Waterfall Material]] for an example.

Revision as of 10:05, 30 July 2009

Stub

This article or section is a stub. You can help by expanding it.

Put this code into your VMT. You can switch $baseTextureTransform with $bumpTransform

LightmappedGeneric
{
	Proxies
	{
		TextureScroll
		{
			texturescrollvar $baseTextureTransform
			texturescrollrate 1.0
			texturescrollangle 0.00
		}
	}
}


Apparently it makes things scroll.

Check out Creating a Waterfall Material for an example.