1
Johnny
(2014-04-26 7:31 AM)
0
great class, just a little bugin -(void) tick: (ccTime) dtuse this:[renderTexture clear:renderColor.r / 255.0f g:renderColor.g / 255.0f b:renderColor.b / 255.0f a:renderColor.a / 255.0f];you can then use: CCSpotLight *spotLight = [CCSpotLight initWithRenderTexture:renderLayer spotLightRadius:100 rednerColor:ccc4(0 , 0, 0, 180)];thanks
|