Hi, I have a texture that needs to have a $selfillumtexture that scrolls upward like in this video:
[media]http://www.youtube.com/watch?v=9J0H9NOgFKk[/media]
[code]"VertexLitGeneric"
{
"$basetexture" "halo Forerunner/metal panels generator"
"$bumpmap" "halo Forerunner/metal panels generator bump"
"$selfillumtexture" "halo Forerunner/metal panels generator glow"
"$surfaceprop" "Metal"
"$surfaceprop2" "Metal"
"%keywords" "Halo"
}
[/code]
How would I do this?
Damn that video brought back some memories.
I'm not entirely sure, but I think you can make the alpha channel scroll versus the texture itself. I think you need to play around with the texture scroll variable parameter. The Valve Wiki should have a page somewhere that lists all variables you can use for the texture scroll parameter.
Halo CE has its own shaders so I'm not sure it's possible to make an exact replica of that effect without using custom shaders. I'm sure there's [I]something[/I] you can do, but I'm just not that knowledgeable about the shaders in Source.
how's this?
[code]
"VertexLitGeneric"
{
"$basetexture" "halo Forerunner/metal panels generator"
"$bumpmap" "halo Forerunner/metal panels generator bump"
"$selfillumtexture" "halo Forerunner/metal panels generator glow"
"$surfaceprop" "Metal"
"$surfaceprop2" "Metal"
Proxies
{
TextureScroll
{
texturescrollvar $selfillumtexture
texturescrollrate 3.0
texturescrollangle 0.0
}
}
"%keywords" "Halo"
}
[/code]
on the valve dev site it says you can swich between $basetexture and $bump so i assumed $illum worked too. i'm about to test.
Sorry, you need to Log In to post a reply to this thread.