An open API service indexing awesome lists of open source software.

https://github.com/eugenedevastator/integratedskyshader

Alternatvie to raymarching for atmosphere rendering
https://github.com/eugenedevastator/integratedskyshader

atmosphere geometry mathematics shader shaders sky unity volumetric

Last synced: 10 months ago
JSON representation

Alternatvie to raymarching for atmosphere rendering

Awesome Lists containing this project

README

          

# Integrated Sky Shader

Welcome to preintegrated sky shader with no raymarching.
That was a proof of concept that worked quite well. - to see if sky can be approximated via single formula.

Findings:
1. Yes we can make preintegrated sky
2. Mathcad cannot handle 100% accurate integrals so they should be replaced with more simple lerps.
3. Mie scattering is not working properly, but absolutely doable with single profile

Next steps to do:
1. Make atmospheric composition with particle profiles in script and pass single profile to shader. has to work.
2. compare with raymarching methods, it may turn out it was not worth the hassle all along.

image