diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-10-08 10:10:59 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-10-08 10:11:53 +0300 |
commit | 25e4dc45e55c3b47c953f33574d268d4ba978f9c (patch) | |
tree | 1eea19701f3dae280cee29560fdc83a98627f6de /source/blender/gpu/GPU_shader.h | |
parent | b071ac315cb7f068372073d6f5bae6e771a5d860 (diff) |
OpenGL: shaders for smooth round points
Solid color with an optional outline.
size (diameter) and outlineWidth are in pixels.
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r-- | source/blender/gpu/GPU_shader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index 9fc1f29d98f..8ccaa9d470e 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -106,6 +106,8 @@ typedef enum GPUBuiltinShader { GPU_SHADER_2D_TEXTURE_RECT, /* points */ GPU_SHADER_2D_POINT_FIXED_SIZE_UNIFORM_COLOR, + GPU_SHADER_2D_POINT_UNIFORM_SIZE_UNIFORM_COLOR_SMOOTH, + GPU_SHADER_2D_POINT_UNIFORM_SIZE_UNIFORM_COLOR_OUTLINE_SMOOTH, GPU_SHADER_2D_POINT_VARYING_SIZE_VARYING_COLOR, GPU_SHADER_3D_POINT_FIXED_SIZE_UNIFORM_COLOR, GPU_SHADER_3D_POINT_FIXED_SIZE_VARYING_COLOR, |