Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix textures not being converted to linear RGB
Previously, textures were being loaded in as SRGB and then used by the lighting calculations as if they were in a linear RGB colour space. This was resulting in the textures looking somewhat too bright. Instead, textures are now converted into linear RGB with gamma 2.2 when being loaded from their respective image.
- Loading branch information