Texture formats overview: Difference between revisions
From FSDeveloper Wiki
Jump to navigationJump to search
m (New page: Placeholder text for a Texture Types overview doc. Category:General Category:Aircraft design Category:Scenery design Category:File formats) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
Placeholder text for a Texture Types overview doc. | 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. | |||
<br> | |||
Some consider DXT5 to be the most flexible general purpose compression codec. | |||
[http://en.wikipedia.org/wiki/S3_Texture_Compression S3TC (aka DXTn or DXTC)] | |||
{| class="wikitable" | |||
|----- align="center" | |||
! FOURCC | |||
! Description | |||
! Alpha premultiplied? | |||
! Compression ratio | |||
! Texture Type | |||
|----- align="center" | |||
| DXT1 || 1-bit Alpha / Opaque || N/A || 8:1 || Simple non-alpha | |||
|----- align="center" | |||
| DXT2 || Explicit alpha || Yes || 4:1 || Sharp alpha | |||
|----- align="center" | |||
| DXT3 || Explicit alpha || No || 4:1 || Sharp alpha | |||
|----- align="center" | |||
| DXT4 || Interpolated alpha || Yes || 4:1 || Gradient alpha | |||
|----- align="center" | |||
| DXT5 || Interpolated alpha || No || 4:1 || Gradient alpha | |||
|} | |||
[[Category:General]] | [[Category:General]] | ||
Revision as of 09:39, 24 January 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 | Description | Alpha premultiplied? | Compression ratio | Texture Type |
|---|---|---|---|---|
| DXT1 | 1-bit Alpha / Opaque | N/A | 8:1 | Simple non-alpha |
| DXT2 | Explicit alpha | Yes | 4:1 | Sharp alpha |
| DXT3 | Explicit alpha | No | 4:1 | Sharp alpha |
| DXT4 | Interpolated alpha | Yes | 4:1 | Gradient alpha |
| DXT5 | Interpolated alpha | No | 4:1 | Gradient alpha |