From c44b0f63627c0e0e813e3dc44c1f9dd60e3c097c Mon Sep 17 00:00:00 2001 From: tpart Date: Wed, 26 Jun 2024 22:46:41 +0200 Subject: Fix colors on OpenGL --- client/menu/menu_background.gd | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/menu/menu_background.gd') diff --git a/client/menu/menu_background.gd b/client/menu/menu_background.gd index 62c38baa..1d9322f3 100644 --- a/client/menu/menu_background.gd +++ b/client/menu/menu_background.gd @@ -19,7 +19,12 @@ extends Node3D const NULLS = [null,null,null,null] const BUCKETS = [[], ["floor","floor","floor","floor","tomato-crate", "raw-steak-crate"], ["table", "chair", "counter"], ["sink", "stove"]] +@onready var environment: WorldEnvironment = $Environment + func _ready(): + if !Global.on_vulkan(): + environment.environment.tonemap_exposure = 0.25 + for x in range(-10,11): for y in range(-10,11): var w = exp(-sqrt(x*x+y*y) * 0.15) -- cgit v1.2.3-70-g09d2