Blender Git Loki
Git Commits -> Revision 1054f65
Revision 1054f65 by Clément Foucault (master) September 30, 2017, 17:37 (GMT) |
Object Mode : Add probes data outlines and selectability This required some small changes to the data display shaders so that they match the way the object mode renders them. Strangely enough, I had to remove the normal attribute from the display code because it was being not bound as soon as I created another rendering call in object mode. The problem may be deeper but I did not have time for this so I derive the normal from the sphere pos. |
Commit Details:
Full Hash: 1054f65a29b0b9ee9cf7db8a4036e4a55506ce03
Parent Commit: 8249e1c
Lines Changed: +182, -59
1 Added Path:
/source/blender/draw/modes/shaders/object_lightprobe_grid_vert.glsl (+28, -0) (View)
8 Modified Paths:
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+13, -23) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_vert.glsl (+9, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_grid_display_vert.glsl (+1, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_frag.glsl (+3, -13) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_vert.glsl (+8, -4) (Diff)
/source/blender/draw/modes/object_mode.c (+117, -13) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+13, -23) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+2, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_vert.glsl (+9, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_grid_display_vert.glsl (+1, -2) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_frag.glsl (+3, -13) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_planar_display_vert.glsl (+8, -4) (Diff)
/source/blender/draw/modes/object_mode.c (+117, -13) (Diff)