Commit: ad32b774cbfe5470a5d3cd074e16b325c5393a07 Author: Mike Erwin Date: Tue Sep 27 21:05:48 2016 +0200 Branches: blender2.8 https://developer.blender.org/rBad32b774cbfe5470a5d3cd074e16b325c5393a07
fix basic shader syntax when drawing lines Fixed on GL 3.2+, Mac still lays an egg due to the geometry shader. =================================================================== M source/blender/gpu/shaders/gpu_shader_basic_frag.glsl =================================================================== diff --git a/source/blender/gpu/shaders/gpu_shader_basic_frag.glsl b/source/blender/gpu/shaders/gpu_shader_basic_frag.glsl index 01a335a..ed23397 100644 --- a/source/blender/gpu/shaders/gpu_shader_basic_frag.glsl +++ b/source/blender/gpu/shaders/gpu_shader_basic_frag.glsl @@ -58,7 +58,7 @@ uniform sampler2D_default texture_map; #ifdef USE_STIPPLE uniform int stipple_id; #if defined(DRAW_LINE) -varying in float t; +varying float t; uniform int stipple_pattern; #endif #endif _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
