Blender Git Commit Log

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)

4 Modified Paths:

/source/blender/draw/CMakeLists.txt (+4, -0) (Diff)
/source/blender/draw/intern/draw_manager.c (+2, -0) (Diff)
/source/blender/draw/modes/edit_lattice_mode.c (+5, -1) (Diff)
/source/blender/draw/modes/object_mode.c (+32, -16) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021