Enabled full zoom funuctionality - still crashing GPU

pull/50/head
unfa 2021-05-22 18:56:29 +02:00
parent 2ef705c4fd
commit 38ee209cc1
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ var view_zoom := .0 :
set(zoom):
view_zoom = zoom
camera.fov = base_fov / ((zoom + 1) * 2)
#crosshair.modulate.a = 1 - (zoom - 1) * 2
#vignette.modulate.a = zoom
crosshair.modulate.a = 1 - (zoom - 1) * 2
vignette.modulate.a = zoom
var direction := Vector3.ZERO
var accel := 0