Home Unreal Engine

Lightbeam fade

zombie420
polycounter lvl 10
Offline / Send Message
zombie420 polycounter lvl 10
9DB2X.png

Using the UDN Lightbeam tutorial, I made some light beams but they don't really fade like I'd like them to; the edges are too crisp. How do I fix this?

Replies

  • passerby
    Options
    Offline / Send Message
    passerby polycounter lvl 12
    use a fresnel in the alpha, or make a cheap one by taking the dot product of a Camera Vector and a constant 3 vector of 0, 0, 1

    or if it;s all emssive and not using the opacity slot multiply everything by that setup.


    edit: you might need to run the dot product through a abs also.

    if you dont quite under stand i could post a material network
  • JamesWild
    Options
    Offline / Send Message
    JamesWild polycounter lvl 8
    I'd honestly say bevel the edges a bit and then remerge the top corners, it should look pretty good.
  • zombie420
    Options
    Offline / Send Message
    zombie420 polycounter lvl 10
    passerby wrote: »
    use a fresnel in the alpha, or make a cheap one by taking the dot product of a Camera Vector and a constant 3 vector of 0, 0, 1

    or if it;s all emssive and not using the opacity slot multiply everything by that setup.


    edit: you might need to run the dot product through a abs also.

    if you dont quite under stand i could post a material network

    Hey man, really appreciate the offer. I'd love if you could show me your material network, I've never used a fresnel or abs node :/
Sign In or Register to comment.