OpenGL: shaders for smooth round points
Solid color with an optional outline. size (diameter) and outlineWidth are in pixels.
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user