Blender Git Commit Log

Git Commits -> Revision f85745b

Revision f85745b by Alexander Romanov (master)
May 16, 2016, 08:13 (GMT)
Flat shading for basic shader

The purpose of the patch is to replace deprecated glShadeModel.

To decrease glShadeModel calls I've set GL_SMOOTH by default

Reviewers: merwin, brecht

Reviewed By: brecht

Subscribers: blueprintrandom, Evgeny_Rodygin, AlexKowel, yurikovelenov

Differential Revision: https://developer.blender.org/D1958

Commit Details:

Full Hash: f85745b17bfe68673bf5f799e98c617d9471ddf1
Parent Commit: b4a721a
Lines Changed: +48, -124

22 Modified Paths:

/source/blender/blenkernel/intern/cdderivedmesh.c (+1, -19) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+0, -1) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+0, -8) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+1, -2) (Diff)
/source/blender/editors/gpencil/drawgpencil.c (+1, -0) (Diff)
/source/blender/editors/interface/interface_draw.c (+2, -11) (Diff)
/source/blender/editors/interface/interface_icons.c (+0, -6) (Diff)
/source/blender/editors/interface/interface_panel.c (+2, -4) (Diff)
/source/blender/editors/interface/interface_widgets.c (+1, -11) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+0, -1) (Diff)
/source/blender/editors/space_view3d/drawanimviz.c (+0, -2) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+2, -9) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+0, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+4, -22) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+2, -12) (Diff)
/source/blender/editors/uvedit/uvedit_draw.c (+1, -8) (Diff)
/source/blender/gpu/GPU_basic_shader.h (+2, -1) (Diff)
/source/blender/gpu/intern/gpu_basic_shader.c (+7, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+4, -2) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+0, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_basic_frag.glsl (+8, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_basic_vert.glsl (+10, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021