File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 48
48
*/
49
49
@property (nonatomic ) CCSprite *refractionEnvironment;
50
50
51
- /* * The environment that will be refracted by the affected node. Typically this is a sprite
51
+ /* * The environment that will be reflected by the affected node. Typically this is a sprite
52
52
* that is not visible in the scene as it is conceptually "behind the viewer" and only visible
53
53
* where reflected by the affected node.
54
54
*/
Original file line number Diff line number Diff line change 8
8
9
9
#import " CCEffect.h"
10
10
11
+
12
+ /* *
13
+ * CCEffectReflection uses reflection to simulate the appearance of a shiny object contained within
14
+ * an environment. Reflection is controlled with two fresnel reflectance values, the normal map, and
15
+ * a reflection environment sprite.
16
+ *
17
+ */
11
18
@interface CCEffectReflection : CCEffect
12
19
13
20
// / -----------------------------------------------------------------------
14
21
// / @name Accessing Effect Attributes
15
22
// / -----------------------------------------------------------------------
16
23
17
- /* * The environment that will be refracted by the affected node. Typically this is a sprite
24
+ /* * The environment that will be reflected by the affected node. Typically this is a sprite
18
25
* that is not visible in the scene as it is conceptually "behind the viewer" and only visible
19
26
* where reflected by the affected node.
20
27
*/
You can’t perform that action at this time.
0 commit comments