Updated project settings and Map Environment Effects

This commit is contained in:
unfa 2021-07-16 02:15:14 +02:00
parent ec2d0acdd2
commit 77c8cdbf2c
3 changed files with 26 additions and 26 deletions

View file

@ -3,9 +3,9 @@ extends CharacterBody3D
@export var mouse_sensitivity := 0.35
#var speed := 15
@onready var hud = get_tree().root.find_node("HUD", true, false)
@onready var crosshair = hud.get_node("Crosshair")
@onready var vignette = hud.get_node("Vignette")
var hud: Node
var crosshair: Node
var vignette: Node
@onready var head = $Head
@onready var camera = $Head/Camera
@onready var tween = $Head/Camera/Tween
@ -108,6 +108,10 @@ var gravity_vec := Vector3.ZERO
head.set_rotation(head_rotation)
func _ready() -> void:
hud = get_tree().root.find_node("HUD", true, false)
crosshair = hud.get_node("Crosshair")
vignette = hud.get_node("Vignette")
#Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
view_zoom = 1.0

File diff suppressed because one or more lines are too long

View file

@ -125,6 +125,8 @@ say_cancel={
[rendering]
anti_aliasing/screen_space_roughness_limiter/enabled=false
environment/glow/use_high_quality=true
environment/screen_space_reflection/roughness_quality=2
global_illumination/sdfgi/probe_ray_count=2
global_illumination/sdfgi/frames_to_converge=0
global_illumination/sdfgi/frames_to_update_lights=4