Skip to content

Commit

Permalink
fix Outer Wilds shader error
Browse files Browse the repository at this point in the history
  • Loading branch information
wgreenberg committed Jan 19, 2025
1 parent 7d04959 commit 6d516fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Common/Unity/AssetManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@ export class UnityTexture2DData {
this.gfxSampler = cache.createSampler(translateSampler(header.texture_settings));

if (header.texture_format === rust.UnityTextureFormat.DXT1Crunched || header.texture_format === rust.UnityTextureFormat.DXT5Crunched) {
console.warn(header.name, header.texture_format);
const crunched = CrunchTexture.new(data);
const levels = [];
// FIXME: texture2ddecoder seems to be broken for higher mip levels
Expand Down

0 comments on commit 6d516fa

Please sign in to comment.