diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-04-10 13:06:17 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-04-10 13:36:32 +0300 |
commit | f2f16a2568c2006b46ba0daa851961355a42f20b (patch) | |
tree | 105dd51aacc1d5ca57d9da13bbaad4baf78df7d4 /extern/bullet2 | |
parent | 0811d089b4b88ff553b6514771b1e324025e15ad (diff) |
Eevee: First Shadows implementation
Using Texture Arrays to store shadow maps so less texture slots are used when shading. This means a large amount of shadows can be supported.
Support Projection Shadow Map for sun like in old BI/BGE.
Support Cube Shadow Map for Point/Spot/Area lights. the benefit of using it for spot light is that the spot angle does not change shadow resolution (at the cost of more memory used). The implementation of the cubemap sampling is targeted for 3.3 core. We rely on 2D texture arrays to store cubemaps faces and sample the right one manualy. Significant performance improvement can be done using Cubemap Arrays on supported hardware.
Shadows are only hardware filtered. Prefiltered shadows and settings comming next.
Diffstat (limited to 'extern/bullet2')
0 files changed, 0 insertions, 0 deletions