TheOpenSpaceProgram / new-ospgl

A space exploration game in OpenGL. Devblog: https://tatjam.github.io/index.html
MIT License
43 stars 6 forks source link

Bug in Cubemap #31

Open tatjam opened 3 years ago

tatjam commented 3 years ago

If specular and irradiance map resolutions are different PBR breaks, this should be easy to fix. The error must be in Cubemap.cpp

tatjam commented 3 years ago

This also seems to only happen on loaded cubemaps? It seems to work fine on flight where we use higher resolutions