Blender Git Commit Log

Git Commits -> Revision a161d45

Revision a161d45 by Mike Erwin (master)
February 11, 2017, 05:02 (GMT)
add builtin GPU_SHADER_KEYFRAME_DIAMOND

Now we can draw keyframe markers as point sprites, with fewer draw calls and state changes.

Based on the builtin shader for round points with anti-aliased outline. This one is more pointy.

Commit Details:

Full Hash: a161d45cfb6de45c5227f4bfc5161f5567c25e6c
Parent Commit: f7b1b87
Lines Changed: +91, -2

2 Added Paths:

/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_frag.glsl (+38, -0) (View)
/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl (+44, -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 (+6, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021