mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
working UV simulation using alpha channel
This commit is contained in:
@@ -102,7 +102,7 @@ class UIBasicNotifier(private val player: ActorHumanoid?) : UICanvas {
|
||||
|
||||
|
||||
// backplate
|
||||
batch.color = lightLevel
|
||||
batch.color = Color(lightLevel.r, lightLevel.g, lightLevel.b, 1f)
|
||||
batch.draw(atlas.get(0, 0), 0f, 0f)
|
||||
}
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ class UITierOneWatch(private val player: ActorHumanoid?) : UICanvas {
|
||||
}
|
||||
|
||||
// backplate
|
||||
batch.color = lightLevel
|
||||
batch.color = Color(lightLevel.r, lightLevel.g, lightLevel.b, 1f)
|
||||
batch.draw(atlas.get(0, 0), 0f, 0f)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user