forked from team-sg/hero-mark-2
sg lore entry uses palette
This commit is contained in:
parent
33b8e191f3
commit
b7960f82c0
2 changed files with 8 additions and 1 deletions
5
objects/lore/hills/sg_palette_lore.gd
Normal file
5
objects/lore/hills/sg_palette_lore.gd
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue