meta4d-me / CatDogEngine

A cross-platform game engine/editor written in modern C++ (WIP)
GNU General Public License v2.0
158 stars 17 forks source link

[PBR-Sky] The rest part of sky rendering #41

Open roeas opened 1 year ago

roeas commented 1 year ago

Atmospheric scattering is complete in #36 and i gathered informations from #2 and #39 to render the rest part of sky.

roeas commented 1 year ago

Volume Shadow algorithm

A volume shadow algorithm is needed to get the ray length in the shadow to get the ground truth light shaft effect.

roeas commented 1 year ago

Cloud

GPU Pro 7 has a awesome chapter about cloud rendering implementation. Real-Time Volumetric Cloudscapes - Andrew Schneider

THE REAL-TIME VOLUMETRIC CLOUDSCAPES OF HORIZON ZERO DAWN https://www.guerrilla-games.com/read/the-real-time-volumetric-cloudscapes-of-horizon-zero-dawn

Edited by @T-rvw :

References:

roeas commented 1 year ago

God Rays / Light Shafts

This effect can also be achieved by some simple trick:

roeas commented 1 year ago

Challenge of Precomputed Atmospheric Scattering