give the model an internal bulb, make the lens transparent
colorize the bulb, reduce the coloring on the lens to only a small effect.
7
init.lua
@ -57,9 +57,12 @@ for _, row in ipairs(ilights.types) do
|
||||
mesh = "ilights_lamp.obj",
|
||||
tiles = {
|
||||
"ilights_lamp_base.png",
|
||||
"ilights_lamp_lens.png^[colorize:"..colordef..":200",
|
||||
"ilights_lamp_cage.png"
|
||||
"ilights_lamp_cage.png",
|
||||
"ilights_lamp_bulb.png^[colorize:"..colordef..":200",
|
||||
"ilights_lamp_bulb_base.png",
|
||||
"ilights_lamp_lens.png^[colorize:"..colordef.."20:75"
|
||||
},
|
||||
use_texture_alpha = true,
|
||||
groups = {cracky=3},
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
textures/ilights_lamp_bulb.png
Normal file
After Width: | Height: | Size: 668 B |
BIN
textures/ilights_lamp_bulb_base.png
Normal file
After Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 584 B After Width: | Height: | Size: 515 B |
Before Width: | Height: | Size: 650 B After Width: | Height: | Size: 651 B |