Is it possible to move a layer in a shader
textures/stealth4/gbar
{
cull none
noPicmip
surfaceparm trans
{
map textures/stealth4/2bar.tga
blendFunc GL_SRC_ALPHA GL_ONE
rgbGen const ( 0.0 1.0 0.0 )
tcmod scale 1 1
tcMod scroll 0.3 0
}
{
map textures/stealth4/2bar.tga
blendFunc GL_SRC_ALPHA GL_ONE
rgbGen const ( 0.0 1.0 0.0 )
tcmod scale 1 1
tcMod scroll -0.4 0
}
}
atm I have 2 ‘layers’ 1 moving in one direction, and another moving in the opposite direction.
Now what I want to achieve is to move the x/y coords of the second layer. is that possible?
mm hard to explain
I want the second layer to have a certain offset.
there I used 1 image with multiple bars and made 1 go left and 1 go right, so there I have the same problem actually it’s just ‘less’ noticeable.