diff options
Diffstat (limited to 'source/blender/draw/engines/gpencil/shaders/gpencil_edit_point_vert.glsl')
-rw-r--r-- | source/blender/draw/engines/gpencil/shaders/gpencil_edit_point_vert.glsl | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_edit_point_vert.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_edit_point_vert.glsl deleted file mode 100644 index 57908f3251b..00000000000 --- a/source/blender/draw/engines/gpencil/shaders/gpencil_edit_point_vert.glsl +++ /dev/null @@ -1,19 +0,0 @@ - -uniform mat4 gpModelMatrix; - -in vec3 pos; -in vec4 color; -in float size; - -out vec4 finalColor; -out float finalThickness; - -void main() -{ - gl_Position = point_world_to_ndc((gpModelMatrix * vec4(pos, 1.0)).xyz); - finalColor = color; - finalThickness = size; - - /* Dirty fix waiting for new GPencil engine. */ - finalColor.rgb = pow(finalColor.rgb, vec3(2.2)); -} |