summaryrefslogtreecommitdiff
path: root/doc/classes/CompressedCubemap.xml
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2023-04-07 17:44:40 +0200
committerYuri Sizov <yuris@humnom.net>2023-04-07 17:44:40 +0200
commit66a8ddf61c401ac91040c7d745499eb853f99dc6 (patch)
treebff856700295fa997cd5c1ecb1a14457bb82a6dc /doc/classes/CompressedCubemap.xml
parentc62f8f93198543dcc7f94152c84179a492d3713f (diff)
Fix CompressedTextureLayered description in the class reference
This also updates the list of compression modes available for textures. (cherry picked from commit 0d24016db0d6cb92e0e681039a72280ce7ce6ece)
Diffstat (limited to 'doc/classes/CompressedCubemap.xml')
-rw-r--r--doc/classes/CompressedCubemap.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/CompressedCubemap.xml b/doc/classes/CompressedCubemap.xml
index 10ee266897..2dda81062b 100644
--- a/doc/classes/CompressedCubemap.xml
+++ b/doc/classes/CompressedCubemap.xml
@@ -5,10 +5,11 @@
</brief_description>
<description>
A cubemap that is loaded from a [code].ccube[/code] file. This file format is internal to Godot; it is created by importing other image formats with the import system. [CompressedCubemap] can use one of 4 compresson methods:
- - Uncompressed (uncompressed on the GPU)
- Lossless (WebP or PNG, uncompressed on the GPU)
- Lossy (WebP, uncompressed on the GPU)
- VRAM Compressed (compressed on the GPU)
+ - VRAM Uncompressed (uncompressed on the GPU)
+ - Basis Universal (compressed on the GPU. Lower file sizes than VRAM Compressed, but slower to compress and lower quality than VRAM Compressed)
Only [b]VRAM Compressed[/b] actually reduces the memory usage on the GPU. The [b]Lossless[/b] and [b]Lossy[/b] compression methods will reduce the required storage on disk, but they will not reduce memory usage on the GPU as the texture is sent to the GPU uncompressed.
Using [b]VRAM Compressed[/b] also improves loading times, as VRAM-compressed textures are faster to load compared to textures using lossless or lossy compression. VRAM compression can exhibit noticeable artifacts and is intended to be used for 3D rendering, not 2D.
See [Cubemap] for a general description of cubemaps.