[Bf-blender-cvs] [a29c0a5f816] greasepencil-object: Include ModelViewProjection matrix to use in the future

Antonio Vazquez noreply at git.blender.org
Tue Apr 4 12:45:27 CEST 2017


Commit: a29c0a5f816dcfb2f16f9304e984b5cc29eb9670
Author: Antonio Vazquez
Date:   Tue Apr 4 12:44:59 2017 +0200
Branches: greasepencil-object
https://developer.blender.org/rBa29c0a5f816dcfb2f16f9304e984b5cc29eb9670

Include ModelViewProjection matrix to use in the future

This will be used to calculate the stroke thickness

===================================================================

M	source/blender/gpu/shaders/gpu_shader_gpencil_stroke_geom.glsl

===================================================================

diff --git a/source/blender/gpu/shaders/gpu_shader_gpencil_stroke_geom.glsl b/source/blender/gpu/shaders/gpu_shader_gpencil_stroke_geom.glsl
index 2064d85b65b..fd69f647728 100644
--- a/source/blender/gpu/shaders/gpu_shader_gpencil_stroke_geom.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_gpencil_stroke_geom.glsl
@@ -1,3 +1,4 @@
+uniform mat4 ModelViewProjectionMatrix;
 uniform vec2 Viewport;
 //uniform vec2 Offset;




More information about the Bf-blender-cvs mailing list