playcanvas/engine — pull request #66 by guycalledfrank (2014-11-05 08:27:52+00:00)
Title: Shader system update 2

As we don't have any in-engine cube/spheremap rendering pipeline, most cubemaps come from users in sRGB space. Therefore I changed their lookups accordingly.

Note that fresnelFactor is just a switch when using Schlick's approximation, but a floating value for other fresnel modes.