sinnwrig / URP-Atmosphere

Implementation of an atmospheric scattering example found on ShaderToy, ported to URP and made to work with baked optical depth. Inspired by Sebastian Lague's series on Atmospheric Rendering
MIT License
47 stars 7 forks source link

Masking atmosphere effect? #1

Open MrOnsku opened 9 months ago

MrOnsku commented 9 months ago

Would it be somehow possible to "mask" the atmosphere fog effect out of for example inside a building, I can't just turn it off completely since the buildings could have windows.

sinnwrig commented 9 months ago

I'll see if I can add primitive volumes that will nullify or reduce fog in certain regions. It would only support spheres, capsules, and cubes, though.

MrOnsku commented 4 weeks ago

Is this still possibly going to be implemented? Would be really handy.

sinnwrig commented 3 weeks ago

@MrOnsku sorry for the late reply, but I've been neglecting my Unity projects as of late and have been putting all of my energy on getting another project up-and-running to hopefully move away from Unity at some point in time for my projects. I'm not sure when, if ever, I'd get around to adding this feature, as there's also a lot of things I would have liked to have done different from the start. If I ever implement this feature or effect again, be it here or in another repo, I'll make sure to notify you about it. However, I'm a bit sad to say I won't be giving it love in the meantime.