HLSL sky shader
One of the skydome shaders in the engine is based on the Preetham model. It simulates the Earth's atmosphere and allows for dynamic placement of the Sun and has a variety of parameters to adjust the atmospheric simulation.
This shader is for DirectX11+, is open source and available on the Git repository.
Comments
Post a Comment