Blender Git Loki
Git Commits -> Revision 1d00a66
Revision 1d00a66 by Clément Foucault (master) July 24, 2017, 13:28 (GMT) |
Eevee: SSR: Encode Normal in buffer and add cubemap fallback. Normals can point away from the camera so we cannot just put XY in the buffer and reconstruct Z later as we would not know the sign of Z. |
Commit Details:
Full Hash: 1d00a66f5db787759fdf211322b4683bb5458318
Parent Commit: 2a84331
Lines Changed: +258, -145
8 Modified Paths:
/source/blender/draw/engines/eevee/eevee_effects.c (+34, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+134, -109) (Diff)
/source/blender/draw/engines/eevee/shaders/default_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+57, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/lamps_lib.glsl (+0, -12) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_lib.glsl (+22, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_frag.glsl (+0, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+10, -10) (Diff)
/source/blender/draw/engines/eevee/shaders/bsdf_common_lib.glsl (+134, -109) (Diff)
/source/blender/draw/engines/eevee/shaders/default_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+57, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/lamps_lib.glsl (+0, -12) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_lib.glsl (+22, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_frag.glsl (+0, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+10, -10) (Diff)