Jump to content

tcMod entityTranslate


Recommended Posts

Posted

models/players/water_elemental/water
{
    q3map_nolightmap
    cull    disable
    {
        map models/players/water_elemental/water
        tcMod scroll 0 -0.3
        tcMod scale 4 4
    }
}

 

Tcmod it's used on shadering for making scaling, scrolling, rotating and turbing effect of sprites. it's common in water, lava and liquid surfaces. ;)

ù

Posted

Not quite. I've given it a look and it appears to be identical to tcMod scroll but applies the effect to the entire entity, not just the parts with the shader.

Posted

So if I made an entity with basic textures and one part had a shader with this parameter, all the other textures would get scrolled as well?

Possibly, yeah. It looks to be calling the same stuff as tcmod scroll does, but applying it to the ref entity as opposed to the surface it's on.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...