-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bevy_render: Fix array textures in KTX2
The GPU seems to want data in the order layer 0 mip 0..n, layer 1 mip 0..n, etc. The ordering of the data in KTX2 confused me as it is the opposite - mip n layer 0..n, mip n-1 layer 0..n, etc.
- Loading branch information
Showing
1 changed file
with
35 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters