summaryrefslogtreecommitdiffstats
path: root/servers/rendering_server.cpp
diff options
context:
space:
mode:
authorBlueCube3310 <53150244+BlueCube3310@users.noreply.github.com>2024-01-04 16:33:20 +0100
committerBlueCube3310 <53150244+BlueCube3310@users.noreply.github.com>2024-08-18 11:14:05 +0200
commit394ea653aacd131c234596299ebf79a52580c9b9 (patch)
tree426057fd548c0ef3fb21dbfe2517b85c3186aacd /servers/rendering_server.cpp
parent96be44c0ec4bafcb08d78be1a584b751b424db9f (diff)
downloadredot-engine-394ea653aacd131c234596299ebf79a52580c9b9.tar.gz
Add Betsy to speed up BC6 compression
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r--servers/rendering_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp
index 9fc67b04b1..3fe2cb2ed9 100644
--- a/servers/rendering_server.cpp
+++ b/servers/rendering_server.cpp
@@ -3518,6 +3518,7 @@ void RenderingServer::init() {
// See `const bool can_s3tc_bptc` in the resource importer.
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_s3tc_bptc", false);
GLOBAL_DEF_RST("rendering/textures/vram_compression/import_etc2_astc", false);
+ GLOBAL_DEF("rendering/textures/vram_compression/compress_with_gpu", true);
GLOBAL_DEF("rendering/textures/lossless_compression/force_png", false);