Blender Git Loki
Git Commits -> Revision 04d18b1
Revision 04d18b1 by Campbell Barton (master) January 24, 2019, 05:14 (GMT) |
DRW: API for own versions of builtin GPU shaders DRW_shader_get_builtin_shader can replace GPU_shader_get_builtin_shader when we need to support clipping. Use this for loose point & wire drawing in object mode, clips edges in lattice edit mode. |
Commit Details:
Full Hash: 04d18b117c2f95b0b28df12c9ddac06b018d6236
Parent Commit: 1d908bf
Lines Changed: +238, -17
4 Added Paths:
/source/blender/draw/intern/draw_builtin_shader.c (+131, -0) (View)
/source/blender/draw/intern/draw_builtin_shader.h (+34, -0) (View)
/source/blender/draw/modes/shaders/drw_shader_3D_smooth_color_vert.glsl (+17, -0) (View)
/source/blender/draw/modes/shaders/drw_shader_3D_vert.glsl (+13, -0) (View)
/source/blender/draw/intern/draw_builtin_shader.h (+34, -0) (View)
/source/blender/draw/modes/shaders/drw_shader_3D_smooth_color_vert.glsl (+17, -0) (View)
/source/blender/draw/modes/shaders/drw_shader_3D_vert.glsl (+13, -0) (View)