Skip to content

Commit 8e63fb9

Browse files
author
Thayer J Andrews
committed
CCEffectLighting - Fixing something that shouldn't have been committed
1 parent a60d523 commit 8e63fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/CCEffectLighting.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ -(void)buildRenderPasses
174174
}
175175
else
176176
{
177-
lightVector = GLKMatrix4MultiplyVector4(lightNodeToEffectNode, GLKVector4Make(light.anchorPointInPoints.x, light.anchorPointInPoints.y, 50.0f, 1.0f));
177+
lightVector = GLKMatrix4MultiplyVector4(lightNodeToEffectNode, GLKVector4Make(light.anchorPointInPoints.x, light.anchorPointInPoints.y, 500.0f, 1.0f));
178178
}
179179

180180
// Compute the real light color based on color and intensity.

0 commit comments

Comments
 (0)