Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Rendering Halos Expensive?

Discussion in 'Editor & General Support' started by mgravelle, Feb 15, 2008.

  1. mgravelle

    mgravelle

    Joined:
    Jun 22, 2005
    Posts:
    35
    I have a handful of lanterns set up for a game that needs to run well on older machines. This question came up as a result: are halos expensive to render? Do they take up a raycast, add a draw call, etc etc etc?

    Thanks,
    - Matt
     
  2. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    Halos are pretty cheap. All halos are drawn in a single draw call; they don't do any raycasts (just they fade out when being very close to the camera). Each halo is 21 vertices (in a fan-like shape).
     
  3. mgravelle

    mgravelle

    Joined:
    Jun 22, 2005
    Posts:
    35
    Excellent, thanks much Aras!