[2.1.17] SimpleEntityWithOwnerPrototype can't glow when expansion_shaders_required is true

Post your bugs and problems so we can fix them.
Izzabelle
Burner Inserter
Burner Inserter
Posts: 16
Joined: Tue Nov 23, 2021 7:17 pm
Contact:

[2.1.17] SimpleEntityWithOwnerPrototype can't glow when expansion_shaders_required is true

Post by Izzabelle »

If a mod sets "expansion_shaders_required": true in info.json any simple-entity-with-owner that uses animations and has either draw_as_glow or draw_as_light as true doesn't glow.

I have an example mod that runs the following code in the data stage:

Code: Select all

data:extend({
  {
    type = "simple-entity-with-owner",
    name = "test-entity",
    animations = {
      {
        filename = "__runtime-tint-glow-bug__/graphics/biolab-lights.png",
        draw_as_glow = true,
        blend_mode = "additive",
        width = 326,
        height = 362,
        frame_count = 32,
        line_length = 8,
        shift = util.by_pixel(1.0, -6.5),
        animation_speed = 0.2,
        scale = 0.5,
        apply_runtime_tint = true
      }
    }
  }
})
Left part of this image is a screenshot when expansion_shaders_required is false or not set, right is when expansion_shaders_required is true.
08-27-2026, 21-35-16.png
08-27-2026, 21-35-16.png (809.78 KiB) Viewed 288 times
Can be replicated by using this example mod and either enabling space age or setting expansion_shaders_required to true in the mod itself.
runtime-tint-glow-bug_1.0.0.zip
(868.94 KiB) Downloaded 23 times
Izzabelle
Burner Inserter
Burner Inserter
Posts: 16
Joined: Tue Nov 23, 2021 7:17 pm
Contact:

Re: [2.1.17] SimpleEntityWithOwnerPrototype can't glow when expansion_shaders_required is true

Post by Izzabelle »

Also would like to add two similar bug reports, viewtopic.php?t=130810 and viewtopic.php?t=132555
Post Reply

Return to “Bug Reports”