Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

3-Slice Line Glow

Discussion in 'General Graphics' started by mitaywalle, Feb 12, 2021.

  1. mitaywalle

    mitaywalle

    Joined:
    Jul 1, 2013
    Posts:
    247
    Hi, my first work posted on forum :) Made script, that generate geometry to render line-glowing, billboarded to camera. Center segment is from 1 pixel, so texture can be any simple particle. Same technic was used in KOTOR to render lightsabers. Script pretty optimized, no batching, but as is - pretty fast. No postprocessing and no custom shaders. That allow use any shader you want
    Screenshot_48.png


    here is demo built for android and web

    available in asset store
     
    Torbach78 likes this.