We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e03082 commit 4aa30d5Copy full SHA for 4aa30d5
cocos2d/CCEffectDFOutline.m
@@ -33,7 +33,7 @@ -(id)initWithOutlineColor:(CCColor*)outlineColor fillColor:(CCColor*)fillColor o
33
34
if((self = [super initWithFragmentUniforms:uniforms vertexUniforms:nil varyings:nil]))
35
{
36
- _fieldScaleFactor = 32.0f; // 32 4096/128 (input distance field size / output df size)
+ _fieldScaleFactor = fieldScale; // 32 4096/128 (input distance field size / output df size)
37
self.outlineWidth = 3;
38
_fillColor = fillColor;
39
_outlineColor = outlineColor;
0 commit comments