Page 1 of 1
Make any entity type - in particular SimpleEntity, Tree, and Unit - support a light
Posted: Fri Oct 12, 2018 4:22 pm
by Reika
As per the title. Since I have been told that fullbright/"unlit" shaders/textures are impossible (see here
https://i.imgur.com/5Hu3Irh.png ), this is the next best thing.
Re: Make any entity type - in particular SimpleEntity, Tree, and Unit - support a light
Posted: Wed Jan 16, 2019 1:26 pm
by Klonan
This is possible now with the script rendering
Re: Make any entity type - in particular SimpleEntity, Tree, and Unit - support a light
Posted: Fri Jan 25, 2019 11:38 pm
by Reika
Klonan wrote: Wed Jan 16, 2019 1:26 pm
This is possible now with the script rendering
Is there some way to see how exactly?
Re: Make any entity type - in particular SimpleEntity, Tree, and Unit - support a light
Posted: Fri Jan 25, 2019 11:43 pm
by Bilka
You can find the documentation here:
https://lua-api.factorio.com/0.17.0-pre ... draw_light It is a bit outdated, I have added a bool to the light so that you can make it have the same orientation as the entity it's attached to.