Blender Git Loki
Git Commits -> Revision cfcbb1d
Revision cfcbb1d by Clément Foucault (tmp-overlay-engine) November 22, 2019, 00:30 (GMT) |
Overlay Engine: Wireframe: Put color evaluation in the shader There are no more subgroups per color. Thus wireframes leveraging the batching capabilities of DRWmanager. The color mixing is also now done per vertex and interpolated instead of per pixel. This might change the rendering a little bit. This also fixes the xray rendering for wireframes and osx workaround shader. |
Commit Details:
Full Hash: cfcbb1daeef0803d6f766201a1142eeeb0ad0215
Parent Commit: fa009ca
Lines Changed: +193, -147
10 Modified Paths:
/source/blender/draw/engines/overlay/overlay_private.h (+3, -2) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+9, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_wireframe.c (+64, -121) (Diff)
/source/blender/draw/engines/overlay/shaders/wireframe_frag.glsl (+2, -7) (Diff)
/source/blender/draw/engines/overlay/shaders/wireframe_geom.glsl (+3, -3) (Diff)
/source/blender/draw/engines/overlay/shaders/wireframe_vert.glsl (+102, -9) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager.h (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+7, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_normal_map.glsl (+1, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+9, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_wireframe.c (+64, -121) (Diff)
/source/blender/draw/engines/overlay/shaders/wireframe_frag.glsl (+2, -7) (Diff)
/source/blender/draw/engines/overlay/shaders/wireframe_geom.glsl (+3, -3) (Diff)
/source/blender/draw/engines/overlay/shaders/wireframe_vert.glsl (+102, -9) (Diff)
/source/blender/draw/intern/draw_manager.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager.h (+1, -1) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+7, -1) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_normal_map.glsl (+1, -1) (Diff)