Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2017-05-29 23:03:57 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-05-29 23:04:30 +0300
commit5773f587622ebf58f6aa3bf4ae60431e8b0f39ef (patch)
treee7f22a4c51464dc443f68a964bc32b18c55e7e42 /source/blender/draw/engines/eevee/eevee_lights.c
parent1fa216487d69c79ef81ccf679090e2bfea5b64fd (diff)
Eevee: Replace Cubemaps by octahedron maps for env. probes.
This enables us to use 2D texture arrays for multiple probes. There is a little artifact with very high roughness caused elongated pixel due to the projection (along every 90° meridian).
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_lights.c')
-rw-r--r--source/blender/draw/engines/eevee/eevee_lights.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lights.c b/source/blender/draw/engines/eevee/eevee_lights.c
index f6d68f27c15..2423fda2dd3 100644
--- a/source/blender/draw/engines/eevee/eevee_lights.c
+++ b/source/blender/draw/engines/eevee/eevee_lights.c
@@ -209,7 +209,7 @@ void EEVEE_lights_cache_finish(EEVEE_StorageList *stl, EEVEE_TextureList *txl, E
}
}
if (!txl->shadow_depth_cube_pool) {
- /* Cubemap / octahedra map pool */
+ /* Cubemap / octahedral map pool */
/* TODO Cubemap array */
txl->shadow_depth_cube_pool = DRW_texture_create_2D_array(
512, 512, max_ff(1, linfo->num_cube), DRW_TEX_R_32,