Fixes Drop Shadow Frustum Culling. 48/41348/1
authorRichard Underhill <r.underhill@partner.samsung.com>
Fri, 12 Jun 2015 14:01:37 +0000 (15:01 +0100)
committerRichard Underhill <r.underhill@partner.samsung.com>
Fri, 12 Jun 2015 14:04:59 +0000 (15:04 +0100)
Change-Id: I2161e86b8d8375185af8f59ef7a1915231238bc5
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.cpp

index cffbc6e..b1724d0 100644 (file)
@@ -157,7 +157,7 @@ struct AtlasRenderer::Impl : public ConnectionTracker
     mQuadIndexFormat[ "indices" ] = Property::UNSIGNED_INTEGER;
 
     mShader = Shader::New( VERTEX_SHADER, FRAGMENT_SHADER );
     mQuadIndexFormat[ "indices" ] = Property::UNSIGNED_INTEGER;
 
     mShader = Shader::New( VERTEX_SHADER, FRAGMENT_SHADER );
-    mShadowShader = Shader::New( VERTEX_SHADER_SHADOW, FRAGMENT_SHADER_SHADOW );
+    mShadowShader = Shader::New( VERTEX_SHADER_SHADOW, FRAGMENT_SHADER_SHADOW, Dali::Shader::HINT_MODIFIES_GEOMETRY );
   }
 
   void AddGlyphs( const std::vector<Vector2>& positions,
   }
 
   void AddGlyphs( const std::vector<Vector2>& positions,