I would expect it to be drawn under the tiles, but isn't.
0.17.74 - rendering.draw_sprite{render_layer=X} doesn't interact correctly with tiles
Re: 0.17.74 - rendering.draw_sprite{render_layer=X} doesn't interact correctly with tiles
There are several renderers (EntityRenderer, BuildingRenderer, TileRenderer, RoboportInfoRenderer, DebugInfoRenderer, ChartRenderer...), and they for the most part operate on separate ranges of layers. LuaRendering operates within EntityRenderer only.
You can make a modding feature request explaning what exactly are you trying to achieve, I'll see if I can modify the systems to make it possible.
You can make a modding feature request explaning what exactly are you trying to achieve, I'll see if I can modify the systems to make it possible.
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: 0.17.74 - rendering.draw_sprite{render_layer=X} doesn't interact correctly with tiles
As far as i know tiles do not support (partial) transparency, so anything "under" them would never be visible? That sounds like the bigger problem here.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.