Blender Git Commit Log

Git Commits -> Revision c73e4e9

Revision c73e4e9 by Mike Erwin (master)
August 8, 2016, 08:56 (GMT)
OpenGL: simple 2D shader with flat color

Flat color means each primitive will use color from the provoking
vertex.

Commit Details:

Full Hash: c73e4e99a5449b2ed1b90cbe484340c3a013deb7
Parent Commit: 4214b3c
Lines Changed: +50, -0

2 Added Paths:

/source/blender/gpu/shaders/gpu_shader_2D_flat_color_frag.glsl (+13, -0) (View)
/source/blender/gpu/shaders/gpu_shader_2D_flat_color_vert.glsl (+18, -0) (View)

3 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+16, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021