Kerilk / bayonetta_tools

Bayonetta tools
BSD 2-Clause "Simplified" License
49 stars 12 forks source link

Named u_e in textureInfo #5

Closed ckurtz22 closed 4 years ago

ckurtz22 commented 4 years ago

While trying to unswizzle images and by looking here: https://github.com/gdkchan/BnTxx/blob/master/BnTxx/Formats/BinaryTexture.cs#L92 I figured out that this value seems to be the log base 2 value of the block heights in the swizzle algorithm.

Kerilk commented 4 years ago

Thanks!