From 83790a38ccdaf1f386ccf19cfacfdf78a63c1b01 Mon Sep 17 00:00:00 2001 From: T1ti <40864460+T1ti@users.noreply.github.com> Date: Fri, 3 May 2024 09:19:07 +0200 Subject: [PATCH] turn off shadows by default --- src/noggit/MapView.cpp | 2 +- src/noggit/MapView.h | 2 +- src/opengl/types.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/noggit/MapView.cpp b/src/noggit/MapView.cpp index 5728c5d4..5de4d71c 100755 --- a/src/noggit/MapView.cpp +++ b/src/noggit/MapView.cpp @@ -2331,7 +2331,7 @@ void MapView::setupHotkeys() _draw_contour.set (true); _draw_climb.set (false); _draw_vertex_color.set(true); - _draw_baked_shadows.set(true); + _draw_baked_shadows.set(false); _draw_wmo.set (false); _draw_terrain.set (true); _draw_fog.set (false); diff --git a/src/noggit/MapView.h b/src/noggit/MapView.h index 0bd26e87..18991619 100755 --- a/src/noggit/MapView.h +++ b/src/noggit/MapView.h @@ -140,7 +140,7 @@ private: public: Noggit::BoolToggleProperty _draw_vertex_color = {true}; - Noggit::BoolToggleProperty _draw_baked_shadows = { true }; + Noggit::BoolToggleProperty _draw_baked_shadows = { false }; Noggit::BoolToggleProperty _draw_climb = {false}; Noggit::BoolToggleProperty _draw_contour = {false}; Noggit::BoolToggleProperty _draw_mfbo = {false}; diff --git a/src/opengl/types.hpp b/src/opengl/types.hpp index bb2445e5..0fa85b0d 100755 --- a/src/opengl/types.hpp +++ b/src/opengl/types.hpp @@ -40,7 +40,7 @@ namespace OpenGL struct TerrainParamsUniformBlock { - int draw_shadows = true; + int draw_shadows = false; int draw_lines = false; int draw_hole_lines = false; int draw_areaid_overlay = false;