Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change scaling mode to FixedHorizontal (bevyengine#4055)
# Objective - Fixes the issue with orthographic camera imported from glTF not displaying anything (mentioned in bevyengine#4005). ## Solution - This was due to wrong scaling mode being used. This PR simply changes WindowSize scaling mode to FixedHorizontal. ## Important Note Currently, othographic scale in Blender, three.js, and possibly other software does not translate to Bevy (via glTF) because their developers have [misinterpreted the spec](KhronosGroup/glTF#1663 (comment)). The camera parameters have been clarified in glTF 2.0, which was released on October of 2021. In Blender 3.0.1 this issue has **not** been fixed yet. If you are importing orthographic cameras from Blender, you have to divide the scale by 2.
- Loading branch information