Skip to content

Commit 8051353

Browse files
author
Thayer J Andrews
committed
CCEffectsTest - Change reflection shininess value and the stack test
1 parent ccaad10 commit 8051353

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cocos2d-ui-tests/tests/CCEffectsTest.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ -(void)setupReflectEffectTest
8181
[self.contentNode addChild:environment];
8282

8383
CCSpriteFrame *normalMap = [CCSpriteFrame frameWithImageNamed:@"Images/ShinyBallNormals.png"];
84-
CCEffectReflection *reflection = [[CCEffectReflection alloc] initWithShininess:0.4f environment:environment];
84+
CCEffectReflection *reflection = [[CCEffectReflection alloc] initWithShininess:1.0f environment:environment];
8585
reflection.fresnelBias = 0.0f;
8686
reflection.fresnelPower = 0.0f;
8787

@@ -543,7 +543,7 @@ -(void)setupStackTest
543543
sprite.position = ccp(0.5f, 0.5f);
544544
sprite.scale = 0.5f;
545545

546-
sprite.effect = [CCEffectStack effects:effects[8], effects[9], nil];
546+
sprite.effect = [CCEffectStack effects:effects[7], effects[4], nil];
547547

548548
sprite.normalMapSpriteFrame = [CCSpriteFrame frameWithImageNamed:@"Images/ShinyBallNormals.png"];
549549
sprite.colorRGBA = [CCColor colorWithRed:0.75f green:0.75f blue:0.75f alpha:0.75f];

0 commit comments

Comments
 (0)