Skip to content

EugeneDevastator/IntegratedSkyShader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages