Home Unreal Engine

Messed up colours on backfaces

JamieMcAndrew
vertex
Hey,

I am making a small scene in Unreal 4. I am having an issue where the colours are getting really messed up when applied on a backface.
https://gyazo.com/9b05b44891bbe684ef24babb42973bdd
(Messed up version)

https://gyazo.com/951d52413394a750a1398bafd6847482
(How it should be)

https://gyazo.com/1224f4ace87784b15df7af1b1b6fd569
(The material)

I'm assuming its the way the material is set up, but i don't really know enough to know how to fix it. Any help would be great!!

Thanks

Replies

  • Obscura
    Options
    Offline / Send Message
    Obscura grand marshal polycounter
    2sided sign outputs 1 for the front face, and -1 for the back face. And lerp alpha should be in 0-1 range, thats why it looks off. To get it correctly working with your setup with the lerp, add 1 to the 2sided sign and then divide it by 2, and then plug it into the alpha of the lerp.
Sign In or Register to comment.