Home Unreal Engine

Eye translucency issue

polycounter lvl 9
Offline / Send Message
barnesy polycounter lvl 9
eye_setup.png

Hey guys, I am trying to adapt this 2 layer eye technique to UDK - http://www.poopinmymouth.com/process/eyes/ng_eyes.htm

I cant seem to get it to work though :S

I tried creating a single material with both the inner and outer parts of the eye. But for some reason it wont work :(

I am thinking it might be worth trying making the translucent part a seperate material , so that the head would have 3 elements (head,eye,eye gloss)

seems like a lot of effort for a small gain though :s

Any comments or suggestions would be greatly appreciated :)

Replies

  • Farfarer
    Options
    Offline / Send Message
    Generally you can't render transparent (as in blended transparency, rather than alphatest) bits over non-transparent stuff when it's part of the same material. Everything's done in one pass so the engine doesn't know which bits get rendered on top of the other bits.

    So yeah, you'll have to split the transparent part off to a separate material so it gets rendered in a separate pass.
  • Xendance
    Options
    Offline / Send Message
    Xendance polycounter lvl 7
    Why is the material two sided? Does it need to be? That too causes lots of sorting problems with transparent geometry.
Sign In or Register to comment.