Texture/PlayStation 3: Difference between revisions

m
Conform to format documentation guidelines.
(Created page.)
 
m (Conform to format documentation guidelines.)
Line 43:
{| class="wikitable"
|-
! BitOffset (bits) !! Length (bits) !! Name !! Description !! Comments
|-
| 0 || 51 || Color format.|| See [[#Color format || Unused, coloralways format]]1
|-
| 51 || 1 || Swizzle || Normalization flag. || See [[#SwizzleNormalization flag | swizzlenormalization flag]]
|-
| 62 || 1 || Normalization || Swizzle flag. || See [[#NormalizationSwizzle flag | normalizationswizzle flag]]
|-
| 3 || 5 || || Color format || See [[#Color format | color format]]
| 7 || 1 || Unused, always 1
|}
 
Line 75:
These are not used in Burnout, so the remap field is unused.
 
Below is the bitwise structure for the remap field. It is unclear whether this is in MSB 0 or LSB 0 notation.
{| class="wikitable"
|-
! BitOffset (bits) !! Length (bits) !! Name !! Description !! Comments
|-
| 0 || 16 || || Remap order ||
|-
| 16 || 2 || || Output blue element ||
|-
| 18 || 2 || || Output green element ||
|-
| 20 || 2 || || Output red element ||
|-
| 22 || 2 || || Output alpha element ||
|-
| 24 || 2 || || Input blue element ||
|-
| 26 || 2 || || Input green element ||
|-
| 28 || 2 || || Input red element ||
|-
| 30 || 2 || || Input alpha element ||
|}