Blender Git Loki
Git Commits -> Revision 76c323f
Revision 76c323f by Clément Foucault (temp-ssr) July 18, 2017, 08:12 (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: 76c323ff308d9ab8bca6a0100d006fe8e31c457b
Parent Commit: 37653aa
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)