[0.17.74] rendering.render_layer does not support drawing under ground-tile.

Things that has been reported already before.
Post Reply
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 513
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

[0.17.74] rendering.render_layer does not support drawing under ground-tile.

Post 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:
Image

This is what I got:
Image


posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.74] rendering.render_layer does not support drawing under ground-tile.

Post by posila »

It's possible, but you can't soft-mod it, if that's what you needed to do.
starfield.jpg
starfield.jpg (109.06 KiB) Viewed 996 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
      }
    },

User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 513
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

Re: [0.17.74] rendering.render_layer does not support drawing under ground-tile.

Post by Mylon »

Thanks for the code. I was hoping to render it with a dynamic position for parallaxing and add other features.

Post Reply

Return to “Duplicates”