Home Unreal Engine

vertex offset in mesh paint?

zombie420
polycounter lvl 10
Offline / Send Message
zombie420 polycounter lvl 10
jVxzSxO.jpg

In my shader, I'm trying to use vertex offset when I mesh paint but I can't seem to get my vertices to recede; only protrude. Could be worth noting that I'm using UDK July 2012

Replies

  • sprunghunt
    Options
    Offline / Send Message
    sprunghunt polycounter
    zombie420 wrote: »

    In my shader, I'm trying to use vertex offset when I mesh paint but I can't seem to get my vertices to recede; only protrude. Could be worth noting that I'm using UDK July 2012

    the vertex colour input on a mesh is from 0-1 in value as it's a colour. So to get negative values you'll have to scale your vertex colour so that it represents a negative amount. I don't see anything in your shader that does this.
Sign In or Register to comment.