Blender Git Loki
Git Commits -> Revision 3cb2b29
Revision 3cb2b29 by Clément Foucault (master) January 16, 2018, 17:22 (GMT) |
Eevee: SSR: Remove ray count and use integer texture for hit coord. Using GL_RG16I texture for the hit coordinates increase tremendously the precision of the hit. The sign of the integer is used to 2 flags (has_hit and is_planar). We do not store the depth and retrieve it from the depth buffer (increasing bandwith by +8bit/px). The PDF is stored into another GL_R16F texture. We remove the raycount for simplicity and to reduce compilation time (less branching in refraction shader). |
Commit Details:
Full Hash: 3cb2b2956b140b840ba8a481ad15df1b567d9c07
Parent Commit: 84c91be
Lines Changed: +104, -148
11 Modified Paths:
/release/scripts/startup/bl_ui/properties_render.py (+0, -1) (Diff)
/release/scripts/startup/bl_ui/properties_view_layer.py (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+2, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+30, -42) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+68, -80) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+1, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+0, -9) (Diff)
/release/scripts/startup/bl_ui/properties_view_layer.py (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+0, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+2, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+30, -42) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_ssr_frag.glsl (+68, -80) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+1, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/ssr_lib.glsl (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+0, -9) (Diff)