Blender Git Loki
Git Commits -> Revision 7dd0be9
Revision 7dd0be9 by Clément Foucault (master) March 11, 2020, 16:12 (GMT) |
EEVEE: Replace octahedron reflection probe by cubemap array We implement cubemap array support for EEVEE's lightcache reflection probes. This removes stretched texels and bottom hemisphere seams artifacts caused by the octahedral projection previously used. This introduce versioning code for the lightcache which will discard any lightcache version that is not compatible. Differential Revision: https://developer.blender.org/D7066 |
Commit Details:
Full Hash: 7dd0be9554ae7a728ded1a95d4709a93b68301b4
Parent Commit: c476c36
Lines Changed: +480, -273
1 Added Path:
/source/blender/draw/engines/eevee/shaders/cubemap_lib.glsl (+130, -0) (View)
31 Modified Paths:
/source/blender/blenkernel/intern/scene.c (+4, -4) (Diff)
/source/blender/blenloader/intern/readfile.c (+11, -8) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -3) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+2, -2) (Diff)
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.c (+116, -36) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.h (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+29, -32) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+3, -14) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+4, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_subsurface.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_frag.glsl (+1, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_filter_glossy_frag.glsl (+1, -21) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_lib.glsl (+3, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/octahedron_lib.glsl (+0, -18) (Diff)
/source/blender/draw/intern/draw_manager_texture.c (+9, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -0) (Diff)
/source/blender/editors/render/render_shading.c (+7, -7) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -1) (Diff)
/source/blender/gpu/GPU_extensions.h (+1, -0) (Diff)
/source/blender/gpu/GPU_texture.h (+10, -0) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+8, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+5, -1) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+103, -114) (Diff)
/source/blender/makesdna/DNA_lightprobe_types.h (+12, -0) (Diff)
/source/blender/makesdna/DNA_scene_defaults.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+2, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+11, -8) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -3) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+2, -2) (Diff)
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.c (+116, -36) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.h (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+29, -32) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+3, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+3, -14) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+4, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_subsurface.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_frag.glsl (+1, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_filter_glossy_frag.glsl (+1, -21) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_lib.glsl (+3, -6) (Diff)
/source/blender/draw/engines/eevee/shaders/octahedron_lib.glsl (+0, -18) (Diff)
/source/blender/draw/intern/draw_manager_texture.c (+9, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -0) (Diff)
/source/blender/editors/render/render_shading.c (+7, -7) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+1, -1) (Diff)
/source/blender/gpu/GPU_extensions.h (+1, -0) (Diff)
/source/blender/gpu/GPU_texture.h (+10, -0) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+8, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+5, -1) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+103, -114) (Diff)
/source/blender/makesdna/DNA_lightprobe_types.h (+12, -0) (Diff)
/source/blender/makesdna/DNA_scene_defaults.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+2, -1) (Diff)