[DiscordArchive] Does anybody know how non-hardcoded textures are mapped to M2 texture units?
[DiscordArchive] Does anybody know how non-hardcoded textures are mapped to M2 texture units?
Archived author: Skarn • Posted: 2018-03-08T18:25:22.225000+00:00
Original source
Does anybody know how non-hardcoded textures are mapped to M2 texture units?
Archived author: Skarn • Posted: 2018-03-08T18:25:25.924000+00:00
Original source
Using texture replacements?
Archived author: schlumpf • Posted: 2018-03-08T18:25:47.204000+00:00
Original source
yes
Archived author: schlumpf • Posted: 2018-03-08T18:26:06.106000+00:00
Original source
well, they are mapped exactly the same way as hardcoded textures actually
Archived author: schlumpf • Posted: 2018-03-08T18:26:16.361000+00:00
Original source
just that they get their CTExture* set by replacible texture shit
Archived author: Skarn • Posted: 2018-03-08T18:26:21.893000+00:00
Original source
yeah, I formulated my question wrong
Archived author: Skarn • Posted: 2018-03-08T18:26:36.705000+00:00
Original source
but okay
Archived author: Skarn • Posted: 2018-03-08T18:26:52.707000+00:00
Original source
is texture replacement just an id of the texture in dbc or smth?
Archived author: Skarn • Posted: 2018-03-08T18:27:08.013000+00:00
Original source
what does exactly go there as a value?
Archived author: Skarn • Posted: 2018-03-08T18:27:47.778000+00:00
Original source
A reverse lookup table for 'replaced' textures, mapping replacable ids to texture indices or -1