+For `POSITION` and `TEXCOORD` attributes, the application is free to choose normalized or unnormalized storage, as well as signed or unsigned. When normalized storage is used, often the data doesn't have to be dequantized (which eliminates the need for a dequantization transform); however, if the data is not in `[0..1]` or `[-1..1]` range, using unnormalized integers instead of normalized integers can slightly improve precision as standard glTF normalization factors such as `1/255` and `1/65535` are not representable exactly as floating-point numbers. Note that using unnormalized integers does not change semantics of the stored values - for example, unnormalized integer `2` corresponds to `2.0` in UV space when encoding a texture coordinate - and as such, in this case it's usually necessary to specify a transformation for decoding (see Decoding Quantized Data).
0 commit comments