1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-22 23:30:21 +02:00

Use texture colorization where possible

Uses "color = <foo>" in the tile image def instead
of compositing with ^[colorize or ^[brighten.  Saves RAM.
This commit is contained in:
Vanessa Ezekowitz
2017-01-25 04:22:28 -05:00
parent 8e467ef6b6
commit 73545c89af
31 changed files with 133 additions and 126 deletions

View File

@ -132,7 +132,7 @@ local r_cbox = homedecor.nodebox.slab_z(-0.25)
homedecor.register("radiator", {
mesh = "homedecor_radiator.obj",
tiles = {
"homedecor_generic_metal_black.png^[colorize:#ffffff:200",
"homedecor_generic_metal.png",
"homedecor_radiator_controls.png"
},
inventory_image = "homedecor_radiator_inv.png",