[2.1.17] SimpleEntityWithOwnerPrototype can't glow when expansion_shaders_required is true
Posted: Thu Aug 27, 2026 7:39 pm
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:
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.
Can be replicated by using this example mod and either enabling space age or setting expansion_shaders_required to true in the mod itself.
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
}
}
}
})