Match blueprint and block scale in the demo scene

This commit is contained in:
Jens Pitkänen 2024-08-20 14:10:35 +03:00
parent 1d24a14ce6
commit 8b2cc77333

View File

@ -11,7 +11,7 @@
[ext_resource type="PackedScene" uid="uid://c670g1qg5gaug" path="res://scenes/interface/pause_menu.tscn" id="11_lav3p"] [ext_resource type="PackedScene" uid="uid://c670g1qg5gaug" path="res://scenes/interface/pause_menu.tscn" id="11_lav3p"]
[sub_resource type="ViewportTexture" id="ViewportTexture_cqsgk"] [sub_resource type="ViewportTexture" id="ViewportTexture_cqsgk"]
viewport_path = NodePath("SubViewport") viewport_path = NodePath("BlueprintRenderingViewport")
[sub_resource type="Gradient" id="Gradient_w67xe"] [sub_resource type="Gradient" id="Gradient_w67xe"]
@ -28,7 +28,7 @@ resource_local_to_scene = true
render_priority = 0 render_priority = 0
shader = ExtResource("9_v0ymc") shader = ExtResource("9_v0ymc")
shader_parameter/FloatParameter = 0.002 shader_parameter/FloatParameter = 0.002
shader_parameter/ColorParameter2 = Color(0.176471, 0, 0.964706, 0.615686) shader_parameter/ColorParameter2 = Color(0.176471, 0, 0.964706, 0)
shader_parameter/ColorParameter = Color(1, 1, 1, 1) shader_parameter/ColorParameter = Color(1, 1, 1, 1)
shader_parameter/Texture2DParameter = SubResource("ViewportTexture_cqsgk") shader_parameter/Texture2DParameter = SubResource("ViewportTexture_cqsgk")
shader_parameter/Texture2DParameter2 = SubResource("NoiseTexture2D_fhswu") shader_parameter/Texture2DParameter2 = SubResource("NoiseTexture2D_fhswu")
@ -81,23 +81,24 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.332064, 1.5426, 3.65156)
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 2.83695, 0, -4.36558) transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 2.83695, 0, -4.36558)
Hud = NodePath("../HUD") Hud = NodePath("../HUD")
TrenchbroomMap = NodePath("../DemoMap") TrenchbroomMap = NodePath("../DemoMap")
RelativeScale = 0.005 RelativeScale = 0.01
[node name="BlueprintDrawing" type="CSGBox3D" parent="table"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -0.0030241, 1.1074, -0.000483751)
size = Vector3(0.9, 0.001, 0.9)
material = SubResource("ShaderMaterial_u26td")
[node name="HUD" parent="." node_paths=PackedStringArray("Player") instance=ExtResource("7_g7tfv")] [node name="HUD" parent="." node_paths=PackedStringArray("Player") instance=ExtResource("7_g7tfv")]
Player = NodePath("../Player") Player = NodePath("../Player")
[node name="PauseMenu" parent="." instance=ExtResource("11_lav3p")] [node name="PauseMenu" parent="." instance=ExtResource("11_lav3p")]
[node name="SubViewport" type="SubViewport" parent="."] [node name="BlueprintRenderingViewport" type="SubViewport" parent="."]
msaa_3d = 3 msaa_3d = 3
render_target_update_mode = 1
[node name="BlueprintOrthoCam" type="Camera3D" parent="SubViewport"] [node name="BlueprintOrthoCam" type="Camera3D" parent="BlueprintRenderingViewport"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, -1, 0) transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, -1, 0)
projection = 1 projection = 1
size = 90.0 size = 90.0
far = 2.0 far = 2.0
[node name="MockupBlueprint" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.85436, 1.1089, -4.37586)
size = Vector3(1, 0.01, 1)
material = SubResource("ShaderMaterial_u26td")