cocos2d/cocos2d-swift — pull request #1123 by thayerandrews (2014-12-16 23:32:24+00:00)
Title: CCEffectGlass and CCEffectReflection - Fix fresnel calculation

- Don't raise 0.0 to a power. The PowerVR implementation of pow() doesn't seem to like this.
- Clamp the fresnel result to [0,1].