Skip to content
Snippets Groups Projects
Commit bccf85a7 authored by Johan Helsing's avatar Johan Helsing
Browse files

Add SkyBox background mode

Implemented by sampling the light probe texture onto a quad that fills the
entire screen, which uses an equirectangular projection.

In the future we might want to consider using separate textures, and/or
different projections. There are some minor issues with texture gradients and
equirectangular projections. These have been worked around by setting the
gradients to zero, which is not optimal, but works OK in practice. If we switch
to using texture cubes instead of equirectangular projections, these issues can
be avoided.
parent f7732b35
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment