Page 1 of 1
Luarendering sometimes messing up brightness
Posted: Thu Jan 02, 2020 8:54 am
by ownlyme
Before i switched to luarendering for my
https://mods.factorio.com/mod/windturbines the base and the top always blended seemlessly, but now i'm randomly getting this glitch:
- glitch.jpg (90.88 KiB) Viewed 684 times
i only used
draw_animation,
set_animation,
set_animation_speed,
and set_animation_offset
Re: Luarendering sometimes messing up brightness
Posted: Thu Jan 02, 2020 9:08 am
by ownlyme
setting the render layer to "wires-above" fixed it
Re: Luarendering sometimes messing up brightness
Posted: Thu Jan 02, 2020 10:32 am
by posila
"wires-above" is last layer below clouds shadows, so it's not a bug.
As for why cloud shadows are not in higher layer - I don't know. Person who was integrating the clouds doesn't work with us anymore and there is no explanation in comments nor commit messages why the cloud layer was added to that particular. Next two layers are ENTITY_INFO_ICON and ELECTRICITY_ICON, so I assume it was intentionally placed just under the alt-mode overlay.
Re: Luarendering sometimes messing up brightness
Posted: Thu Jan 02, 2020 10:37 am
by ownlyme
thanks for the insight