From b20c4b6fd365dda159a296573bc3b720e9308116 Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Fri, 26 Dec 2025 23:06:50 +0100 Subject: [PATCH] Shader globals --- project.godot | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/project.godot b/project.godot index f78d5a32..5305c925 100644 --- a/project.godot +++ b/project.godot @@ -426,3 +426,38 @@ common/physics_jitter_fix=0.0 textures/canvas_textures/default_texture_filter=0 occlusion_culling/use_occlusion_culling=true 2d/snap/snap_2d_vertices_to_pixel=true + +[shader_globals] + +affine_texture_mapping={ +"type": "bool", +"value": true +} +fog_color={ +"type": "color", +"value": Color(0, 0, 0, 1) +} +fog_start_distance={ +"type": "float", +"value": 0.0 +} +fog_end_distance={ +"type": "float", +"value": 0.0 +} +cull_distance={ +"type": "float", +"value": 64.0 +} +texture_filtering={ +"type": "bool", +"value": false +} +texture_lod_halve_distance={ +"type": "float", +"value": 0.0 +} +vertex_snap_intensity={ +"type": "int", +"value": 2 +}