#VMT Proxies

1 messages · Page 1 of 1 (latest)

azure linden
#

Hello guys, I'm trying to creating a one-way wave downwards on a materials but I can't quite figure it out. I only seem to be capable of making a sine wave up and down. And that's definitely not the effect I want

#
"VertexLitGeneric"
{
    "$basetexture" "models/shelbys_viewports/crt_scroll"
    "$translucent"        "1"
    "$alpha"            "0.3"
    "$vertexalpha"        "1"
    "$ignorez"            "1"
    "$no_fullbright"     "1"

    "$translate" "[0 0]"

    "Proxies"
    {
        Sine
        {
            sineperiod    30
            sinemin        -15
            sinemax        15
            timeoffset    0
            resultVar    "$translate[0]"
        }
        Sine
        {
            sineperiod    30
            sinemin        -15
            sinemax        15
            timeoffset    0
            resultVar    "$translate[1]"
        }

        TextureTransform
        {
            translateVar    $translate
            resultVar    $basetexturetransform
        }
    }
}
#

heres my current VMT

viral scroll
#

transform based on a constantly incrementing time, not sine