Page 1 of 1
[0.17.74] rendering.render_layer does not support drawing under ground-tile.
Posted: Thu Oct 31, 2019 7:14 pm
by Mylon
I was trying to make the out-of map look a bit prettier. I tried using water-tile as the rendering layer but no luck. Also tried "0" and "1" as the documentation says this is valid.
This is what I expected:
This is what I got:

Re: [0.17.74] rendering.render_layer does not support drawing under ground-tile.
Posted: Thu Oct 31, 2019 7:21 pm
by Klonan
This is a duplicate of this
viewtopic.php?f=23&t=77407
Re: [0.17.74] rendering.render_layer does not support drawing under ground-tile.
Posted: Thu Oct 31, 2019 7:51 pm
by posila
It's possible, but you can't soft-mod it, if that's what you needed to do.

- starfield.jpg (109.06 KiB) Viewed 1429 times
Code: Select all
variants =
{
main =
{
{
picture = "__base__/graphics/terrain/concrete/concrete-dummy.png",
count = 1,
size = 1
}
},
empty_transitions = true,
material_background =
{
picture = "__mymod__/graphics/terrain/starfield.jpg",
count = 1,
scale = 0.5, -- image is 512x512
}
},
Re: [0.17.74] rendering.render_layer does not support drawing under ground-tile.
Posted: Thu Oct 31, 2019 8:02 pm
by Mylon
Thanks for the code. I was hoping to render it with a dynamic position for parallaxing and add other features.