DebugGeometry has now proper material for better rendering.
parent
efb934c441
commit
d1f59643f0
|
@ -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://entities/Player.cs" type="Script" id=1]
|
||||||
[ext_resource path="res://components/NavigationComponent.cs" type="Script" id=2]
|
[ext_resource path="res://components/NavigationComponent.cs" type="Script" id=2]
|
||||||
|
@ -17,6 +17,10 @@ height = 0.2
|
||||||
[sub_resource type="SphereShape" id=23]
|
[sub_resource type="SphereShape" id=23]
|
||||||
radius = 0.1
|
radius = 0.1
|
||||||
|
|
||||||
|
[sub_resource type="SpatialMaterial" id=25]
|
||||||
|
flags_unshaded = true
|
||||||
|
vertex_color_use_as_albedo = true
|
||||||
|
|
||||||
[node name="Player" type="KinematicBody"]
|
[node name="Player" type="KinematicBody"]
|
||||||
collision_mask = 0
|
collision_mask = 0
|
||||||
axis_lock_motion_y = true
|
axis_lock_motion_y = true
|
||||||
|
@ -59,3 +63,6 @@ shape = SubResource( 23 )
|
||||||
script = ExtResource( 6 )
|
script = ExtResource( 6 )
|
||||||
|
|
||||||
[node name="ImmediateGeometry" type="ImmediateGeometry" parent="DebugGeometry"]
|
[node name="ImmediateGeometry" type="ImmediateGeometry" parent="DebugGeometry"]
|
||||||
|
material_override = SubResource( 25 )
|
||||||
|
cast_shadow = 0
|
||||||
|
generate_lightmap = false
|
||||||
|
|
Loading…
Reference in New Issue