[DiscordArchive] MCSH chunk - wiki says it's uint1 shadow_map[64][64] - The text right below says it would be 8 bytes
[DiscordArchive] MCSH chunk - wiki says it's uint1 shadow_map[64][64] - The text right below says it would be 8 bytes
Archived author: Kaev • Posted: 2018-07-05T11:42:09.005000+00:00
Original source
MCSH chunk - wiki says it's uint1 shadow_map[64][64] - The text right below says it would be 8 bytes * 64 bytes - Wouldn't it have to be 8x8 bytes instead of 8x64?
Archived author: Deleted User • Posted: 2018-07-05T11:42:33.604000+00:00
Original source
8 Bytes per row
Archived author: Kaev • Posted: 2018-07-05T11:43:01.574000+00:00
Original source
yeah, so 8x8
Archived author: Kaev • Posted: 2018-07-05T11:43:12.808000+00:00
Original source
or am i just too stupid to understand it
Archived author: Deleted User • Posted: 2018-07-05T11:43:44.312000+00:00
Original source
64 rows with 8 bytes
Archived author: Deleted User • Posted: 2018-07-05T11:44:09.835000+00:00
Original source
Te values per row are compressed but you still need 64 rows
Archived author: Kaev • Posted: 2018-07-05T11:45:25.416000+00:00
Original source
so in C# it would be byte[,] ShadowMap { get; set; } = new byte[64, 8]; right?
Archived author: Kaev • Posted: 2018-07-05T11:45:40.821000+00:00
Original source
And then i have to parse out the bits of the bytes
Archived author: Deleted User • Posted: 2018-07-05T11:46:58.371000+00:00
Original source
That’s a possibility
Archived author: schlumpf • Posted: 2018-07-05T11:48:41.385000+00:00
Original source
`byte[64*64/CHAR_BIT]`