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

Question How to make celestial body without emission?

Discussion in 'General Graphics' started by snacktime, Jan 23, 2021.

  1. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,356
    The problem is occlusion. HDRP sky sun disc even though it's all shader based has the same issue as say just an emissive sphere. So crank up the emission enough for an average sun, and the emissive part is quite large. So the sun center goes behind some tiny object and the entire thing is occluded.

    Games like Sea of Thieves are using some approach that solves this. It looks a lot like like a light coming through a hole they cutout in the sky, with an extra separate emissive flare of some type. But this isn't really my domain so not sure what the best approaches are here.