Skip to content

Commit

Permalink
Add WebGL astc extension restriction of npot textures back in
Browse files Browse the repository at this point in the history
  • Loading branch information
abbaswasim committed Mar 20, 2024
1 parent 8ee04fd commit 9b731a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/2.0/Khronos/KHR_texture_astc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ Regardless of the format used, these additional restrictions apply for compatibi
- For textures with **non-color data** (e.g., normal maps),
- `colorPrimaries` MUST be `KHR_DF_PRIMARIES_UNSPECIFIED`;
- `transferFunction` MUST be `KHR_DF_TRANSFER_LINEAR`.
- `pixelWidth` and `pixelHeight` MUST be multiples of 4.
- When a texture refers to a sampler with mipmap minification, the KTX image MUST contain a full mip pyramid.
- When a texture referencing a KTX v2 image with ASTC compression is used for glTF 2.0 material maps (both color and non-color), the KTX v2 image MUST be of **2D** type as defined in the KTX v2 Specification, Section 4.1.
- `KHR_DF_FLAG_ALPHA_PREMULTIPLIED` flag MUST NOT be set unless the material's specification requires premultiplied alpha.
Expand Down

0 comments on commit 9b731a6

Please sign in to comment.