Blender Git Commit Log

Git Commits -> Revision 11ffbfb

Revision 11ffbfb by Mike Erwin (master)
August 7, 2016, 05:35 (GMT)
Gawain: bind a shader for immediate mode

How to use:
1) set up vertex format
2) bind a shader
3) draw with immBegin ? immEnd
4) unbind shader

TODO: expand this a little, so we can send uniform values to the bound
shader.

Commit Details:

Full Hash: 11ffbfb36a94d2a461219e338a6213300b69712d
Parent Commit: 6fea42d
Lines Changed: +10, -0

2 Modified Paths:

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