DebugGeometry has now proper material for better rendering.

WorldChunkRefactoring
Martin Felis 2023-07-14 18:13:25 +02:00
parent efb934c441
commit d1f59643f0
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=2]
[gd_scene load_steps=11 format=2]
[ext_resource path="res://entities/Player.cs" type="Script" id=1]
[ext_resource path="res://components/NavigationComponent.cs" type="Script" id=2]
@ -17,6 +17,10 @@ height = 0.2
[sub_resource type="SphereShape" id=23]
radius = 0.1
[sub_resource type="SpatialMaterial" id=25]
flags_unshaded = true
vertex_color_use_as_albedo = true
[node name="Player" type="KinematicBody"]
collision_mask = 0
axis_lock_motion_y = true
@ -59,3 +63,6 @@ shape = SubResource( 23 )
script = ExtResource( 6 )
[node name="ImmediateGeometry" type="ImmediateGeometry" parent="DebugGeometry"]
material_override = SubResource( 25 )
cast_shadow = 0
generate_lightmap = false