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

Is billboarding possible in Unity?

Discussion in 'General Graphics' started by SgtSargeMcFly, May 18, 2021.

  1. SgtSargeMcFly

    SgtSargeMcFly

    Joined:
    May 4, 2020
    Posts:
    20
    I'm trying to make a game that's 3D but uses 2D sprites like a lot of old PS1 games (Xenogears, Grandia, etc) but I can't find any billboarding methods that are just right.

    Making the sprites rotate to always face the camera is janky because it causes the sprites to clip into the geometry when they're rotating, so it breaks the illusion. The rotations also get really problematic when the camera is really close. Having them only rotate on select axes also introduces problems.

    I basically want the sprites to look the way they do on file with no rotating, but I want them to still resize when the camera gets nearer or further and disappear when they're behind objects. Is there an optimal way for me to approach this?
     
  2. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,866
    You can use unity's standard particle shader to fade when collide with other objects