RJVB09 / NiftyNebulae

Nebula renderer mod
3 stars 0 forks source link

Make nebula occlude objects #2

Open RJVB09 opened 1 year ago

RJVB09 commented 1 year ago

Current nebula shader always renders behind everything, it should also be able to render in front of celestial bodies and make objects less visible through this fog.

jamesford42 commented 7 months ago

Oh, it doesn't do this? That is unfortunate. I'm not sure what would be involved in getting it to work, with other transparency rendering (ie, particles), but for opaque stuff it would work using depth buffer sampling and to render as a post effect i think?