- Multiple scattering of sun light in the atmosphere
- Multiple scattering has subtle effect during the day time, but makes the sky look much more natural
- During the twilight, multiple scattering has higher importance (see figures below) add improves realism significantly
- Faster method for rendering light shafts using pre-computed look-up table
- Since sky radiance is pre-computed for all possible locations and directions, this new method do not perform numerical integration of air light integral, but only computes total length of the illuminated ray region and distance to the first lit section. Two look-ups into scattering look-up table are then performed
- Improved shaders for rendering Earth surface using correct sun light extinction and pre-computed ambient skylight look-up table.
- The new shaders compute sun light extinction due to the atmosphere for each vertex of the Earth mesh. They also use pre-computed ambient skylight texture to estimate ambient light for the given sun position
- Better tone mapping
- The sample implements a number of different tone mapping operators that perform better HDR to LDR conversion
This is how twilight sky looks with single scattering only:
Multple scattering makes it look more realistic:
Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.