bc6ff38b22
In this case only diffuseMatColor really matters, other values are constant. It improves performance on GLES renderer and it's also noticeably faster for GL on desktop. For example: - fps increased for me from 60 to 69 on Hacienda with intel HD 4000 - from 43 to 49 on lighthouse There is much less difference on nvidia graphics card, but still it gives small performance improvement. |
||
---|---|---|
.. | ||
decodeNormal.frag | ||
DiffuseBRDF.frag | ||
DiffuseIBL.frag | ||
encode_normal.frag | ||
getCIEXYZ.frag | ||
getLightFactor.frag | ||
getPosFromUVDepth.frag | ||
getRGBfromCIEXxy.frag | ||
getworldmatrix.vert | ||
rgb_conversion.frag | ||
SpecularBRDF.frag | ||
SpecularIBL.frag | ||
SunMRP.frag |