[2.1.16] CircuitConnectorSprites rendering
Posted: Tue Aug 25, 2026 8:54 pm
First thank you for adding this to 2.1.15! For the first time, I am able to draw the connectors for my miniloaders correctly by moving the connectors to the right layer!
However, it seems that the shadows don't move with them.
How can I bring the shadows to the same layer as the connectors? Or does that require another setting (shadow_render_layer = ...) ?
However, it seems that the shadows don't move with them.
Code: Select all
local inserter_connector_definitions = circuit_connector_definitions.create_vector(
universal_connector_template,
{
{ variation = 0, main_offset = util.by_pixel(5, -3), shadow_offset = util.by_pixel(9, 1), show_shadow = true, render_layer = 'higher-object-under', },
{ variation = 6, main_offset = util.by_pixel(0, -2), shadow_offset = util.by_pixel(4, 3), show_shadow = true, render_layer = 'higher-object-under', },
{ variation = 4, main_offset = util.by_pixel(-4, -5), shadow_offset = util.by_pixel(0, -1), show_shadow = true, render_layer = 'higher-object-under , },
{ variation = 2, main_offset = util.by_pixel(1, -10), shadow_offset = util.by_pixel(5, -6), show_shadow = true, render_layer = 'higher-object-under', },
}
)