Merge pull request #728 from Calinou/global-illumination-tweak-camera-script

Revert accidental change in camera script in Global illumination demo
This commit is contained in:
Aaron Franke
2022-04-25 12:44:31 -04:00
committed by GitHub
2 changed files with 10 additions and 2 deletions

View File

@@ -29,9 +29,9 @@ func _input(event):
func _process(delta):
var motion = Vector3(
Input.get_action_strength("move_right") - Input.get_action_strength("move_left"),
Input.get_axis(&"move_left", &"move_right"),
0,
Input.get_action_strength("move_back") - Input.get_action_strength("move_forward")
Input.get_axis(&"move_forward", &"move_back")
)
# Normalize motion to prevent diagonal movement from being

View File

@@ -121,6 +121,8 @@ offset_top = 16.0
offset_right = 263.0
offset_bottom = 42.0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
text = "Global illumination: None (Fastest)"
[node name="ReflectionProbeMode" type="Label" parent="."]
@@ -129,6 +131,8 @@ offset_top = 48.0
offset_right = 148.0
offset_bottom = 74.0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
text = "Reflection probe: Disabled - Using environment, VoxelGI or SDFGI reflections (Fast)"
[node name="SSILMode" type="Label" parent="."]
@@ -137,6 +141,8 @@ offset_top = 80.0
offset_right = 365.0
offset_bottom = 106.0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
text = "Screen-space lighting effects: Disabled (Fast)"
[node name="Label" type="Label" parent="."]
@@ -147,6 +153,8 @@ offset_top = -120.0
offset_right = 537.0
offset_bottom = -16.0
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 1
theme_override_constants/shadow_offset_y = 1
text = "Space: Cycle between GI modes
R: Toggle reflection probe
F: Cycle between screen-space lighting effect modes