Color rework
This commit is contained in:
parent
0dd3628ce1
commit
2b527c9b2e
15 changed files with 73 additions and 16 deletions
|
|
@ -22,4 +22,4 @@ func _process(_delta):
|
|||
rotation = ship.global_position.angle_to_point(target.global_position)
|
||||
var sp_scale = 1024 / clamp(ship.global_position.distance_to(target.global_position), 512, 2048)
|
||||
marker.scale = Vector2(sp_scale, sp_scale)
|
||||
modulate = target.modulate
|
||||
modulate = target.material.get_shader_parameter("color")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue