sg lore entry uses palette

This commit is contained in:
pennyrigate 2023-11-21 18:11:42 -05:00
parent 33b8e191f3
commit b7960f82c0
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,5 @@
extends TextureRect
func _ready():
var palette = load("res://graphics/player/palettes/%s.png" % Game.current_palette)
material.set_shader_param("palette", palette)