PBR fixes
- Allow in-shader conversion from sRGB to linear color space for environment map preprocessing (irradiance and prefilter)
- Fix shader when there is only the environment map with no punctual lights
- Fix shader wrongly computing diffuse part for metallic materials
- Add conversion to linear color space for uniform colors
- Improve shader performance
Edited by Michael Migliore