Skip to content

Commit

Permalink
Fixed shadow sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtyIF committed Nov 22, 2024
1 parent 7429e2c commit 3e0cc49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ diffuse_mode = 2
specular_mode = 2
vertex_color_use_as_albedo = true
albedo_texture = ExtResource("1_jhelc")
disable_receive_shadows = true
billboard_mode = 3
billboard_keep_scale = true
particles_anim_h_frames = 8
Expand Down
1 change: 1 addition & 0 deletions demo_assets/car_scenes/race.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ mesh = SubResource("ArrayMesh_or4d8")
skeleton = NodePath("")

[node name="Shadow" type="MeshInstance3D" parent="Visuals/180Turnaround"]
sorting_offset = -1000.0
gi_mode = 0
mesh = SubResource("BoxMesh_sc5a5")
skeleton = NodePath("../..")
Expand Down
1 change: 1 addition & 0 deletions demo_assets/car_scenes/taxi.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ mesh = SubResource("ArrayMesh_do7n3")
skeleton = NodePath("")

[node name="Shadow" type="MeshInstance3D" parent="Visuals/180Turnaround"]
sorting_offset = -1000.0
gi_mode = 0
mesh = SubResource("BoxMesh_sc5a5")
skeleton = NodePath("../..")
Expand Down

0 comments on commit 3e0cc49

Please sign in to comment.