Skip to content

Commit

Permalink
Fixed an issue with transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
xxSeys1 authored Aug 1, 2023
1 parent 8fb7567 commit 85ccb32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ColoredCollisionShapes/ColoredCollisionShape3D.gd
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func _update_visualizer_material() -> void:
_visualizer_mesh.transparency = 1 - _mesh_opacity

if _use_texture_transparency:
_visualizer_material.transparency = BaseMaterial3D.TRANSPARENCY_ALPHA_SCISSOR
_visualizer_material.transparency = BaseMaterial3D.TRANSPARENCY_ALPHA_DEPTH_PRE_PASS
else:
_visualizer_material.transparency = BaseMaterial3D.TRANSPARENCY_DISABLED

Expand Down

0 comments on commit 85ccb32

Please sign in to comment.