Help me please to understand: how Nifskope converts Float type (4 bytes) to ByteFloat type (1 byte) ?
I made few tries to make this conversion with C but failed.
I have tried: S EEE MMMM, S EE MMMMM, S EEEE MMM representations of ByteFloat but my Normals looks weird in Nifskope after import
S - sign bit
E - exponent bits
M - mantissa bits
I noticed Nifskope understands: -1.0 as 0x00, 1.0 as 0xFF , 0.5 as 0xBF , -0.5 as 0x40 - but this must to be wrong because of sign bit ...
How you do this trick ? Why your normals looks good in Fallout 4 ?