1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-07-14 20:00:17 +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

@ -22,7 +22,7 @@ for i in ipairs(lrfurn.colors) do
drawtype = "mesh",
mesh = "lrfurn_sofa_short.obj",
tiles = {
"lrfurn_bg_white.png^[colorize:"..hue.."^lrfurn_sofa_overlay.png",
{ name = "lrfurn_upholstery.png", color = hue },
"lrfurn_sofa_bottom.png"
},
paramtype = "light",