Texture formats overview: Difference between revisions
From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary |
|||
| Line 9: | Line 9: | ||
<br> | <br> | ||
Some consider DXT5 to be the most flexible general purpose compression codec. | Some consider DXT5 to be the most flexible general purpose compression codec. | ||
{| class="mw_metadata" | {| class="prettytable" style="background:#f2f2f2" border="0" <!-- | class="mw_metadata" --> | ||
|----- align="left" | |----- align="left" | ||
! FOURCC | ! style="background:#C0C090;" | FOURCC | ||
! FS versions | ! style="background:#C0C090;" | FS versions | ||
! Description | ! style="background:#C0C090;" | Description | ||
! Alpha premultiplied? | ! style="background:#C0C090;" | Alpha premultiplied? | ||
! Compression ratio | ! style="background:#C0C090;" | Compression ratio | ||
! Texture Type | ! style="background:#C0C090;" | Texture Type | ||
|----- align="left" | |----- align="left" | ||
| DXT1 || All || 1-bit Alpha / Opaque || N/A || 8:1 || Simple non-alpha | | DXT1 || All '''*''' || 1-bit Alpha / Opaque || N/A || 8:1 || Simple non-alpha | ||
|----- align="left" | |----- align="left" | ||
| DXT2 || Not supported || Explicit alpha || Yes || 4:1 || Sharp alpha | | DXT2 || Not supported || Explicit alpha || Yes || 4:1 || Sharp alpha | ||
|----- align="left" | |----- align="left" | ||
| DXT3 || All || Explicit alpha || No || 4:1 || Sharp alpha | | style="background:#7AB900;" | DXT3 | ||
| style="background:#7AB900;" | All | |||
| style="background:#7AB900;" | Explicit alpha | |||
| style="background:#7AB900;" | No | |||
| style="background:#7AB900;" | 4:1 | |||
| style="background:#7AB900;" | Sharp alpha | |||
|----- align="left" | |----- align="left" | ||
| DXT4 || Not supported || Interpolated alpha || Yes || 4:1 || Gradient alpha | | style="background:#F8EABA;" | DXT4 | ||
| style="background:#FF2525;" | Not supported | |||
| style="background:#F8EABA;" | Interpolated alpha | |||
| style="background:#F8EABA;" | Yes | |||
| style="background:#F8EABA;" | 4:1 | |||
| style="background:#F8EABA;" | Gradient alpha | |||
|----- align="left" | |----- align="left" | ||
| DXT5 || FSX only || Interpolated alpha || No || 4:1 || Gradient alpha | | style="background:#F8EABA;" | DXT5 | ||
| style="background:#FF2525;" | FSX only | |||
| style="background:#F8EABA;" | Interpolated alpha | |||
| style="background:#F8EABA;" | No | |||
| style="background:#F8EABA;" | 4:1 | |||
| style="background:#F8EABA;" | Gradient alpha | |||
|} | |} | ||
=== Notes === | |||
'''*''' DXT1 with an alpha may cause transparency issues in FSX SP2. | |||
== Tools == | == Tools == | ||
Revision as of 15:37, 5 February 2008
Placeholder text for a Texture Types overview doc.
Edit for FS applicability.
S3TC Format Comparison
DXT4/5 use an interpolated alpha scheme, they generally produce superior results for alpha (transparency) gradients than DXT2/3.
Some consider DXT5 to be the most flexible general purpose compression codec.
| FOURCC | FS versions | Description | Alpha premultiplied? | Compression ratio | Texture Type |
|---|---|---|---|---|---|
| DXT1 | All * | 1-bit Alpha / Opaque | N/A | 8:1 | Simple non-alpha |
| DXT2 | Not supported | Explicit alpha | Yes | 4:1 | Sharp alpha |
| DXT3 | All | Explicit alpha | No | 4:1 | Sharp alpha |
| DXT4 | Not supported | Interpolated alpha | Yes | 4:1 | Gradient alpha |
| DXT5 | FSX only | Interpolated alpha | No | 4:1 | Gradient alpha |
Notes
* DXT1 with an alpha may cause transparency issues in FSX SP2.
Tools
| Tool | Description | Rating | Availability | URL |
| Tool Name | Descriptive blurb | * * * * * | Payware | Download Page (SizeMb) |
| Tool Name | Descriptive blurb | * * * * * | Freeware | Download Page (SizeMb) |
| Tool Name | Descriptive blurb | * * * * * | Payware | Download Page (SizeMb) |
| Tool Name | Descriptive blurb | * * * * * | Freeware | Download Page (SizeMb) |