Blender Git Loki

Git Commits -> Revision b8f27b2

Revision b8f27b2 by Mike Erwin (master)
August 16, 2016, 18:58 (GMT)
OpenGL: shaders for simple 3D drawing

These are intended for very simple drawing. No lighting etc.

Shares some fragment code with the 2D shaders.

Similar to their 2D counterparts, but are not combined because of
future plans for separate 2D & 3D matrix stacks.

Commit Details:

Full Hash: b8f27b25145b23ebaa402aa6873ebfcbadc3491f
Parent Commit: 8619e09
Lines Changed: +149, -34

6 Added Paths:

/source/blender/gpu/shaders/gpu_shader_3D_flat_color_vert.glsl (+18, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_smooth_color_frag.glsl (+13, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_smooth_color_vert.glsl (+18, -0) (View)
/source/blender/gpu/shaders/gpu_shader_3D_uniform_color_vert.glsl (+11, -0) (View)
/source/blender/gpu/shaders/gpu_shader_flat_color_frag.glsl (+13, -0) (View)
/source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl (+13, -0) (View)

2 Deleted Paths:

/source/blender/gpu/shaders/gpu_shader_2D_flat_color_frag.glsl (+0, -13)
/source/blender/gpu/shaders/gpu_shader_2D_uniform_color_frag.glsl (+0, -13)

3 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+6, -2) (Diff)
/source/blender/gpu/GPU_shader.h (+5, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+52, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021