From b19225bfce3dab39f8ce6b1ecf610ea0ba650f99 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 16 Jun 2017 21:47:28 -0300 Subject: -Fix freezes caused by etccomp2, closes #9183 -Normalmaps are now detected and imported as RGTC, both in S3TC and ETC2, this improves their quality. --- servers/visual_server.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'servers/visual_server.cpp') diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index b2dda455e..caaef46d2 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -1564,6 +1564,10 @@ VisualServer::VisualServer() { //ERR_FAIL_COND(singleton); singleton = this; + GLOBAL_DEF("rendering/vram_formats/use_s3tc", true); + GLOBAL_DEF("rendering/vram_formats/use_etc", false); + GLOBAL_DEF("rendering/vram_formats/use_etc2", true); + GLOBAL_DEF("rendering/vram_formats/use_pvrtc", false); } VisualServer::~VisualServer() { -- cgit v1.2.3-70-g09d2