Luarendering sometimes messing up brightness

Bugs that are actually features.
User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 401
Joined: Thu Dec 21, 2017 8:02 am
Contact:

Luarendering sometimes messing up brightness

Post 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
glitch.jpg (90.88 KiB) Viewed 706 times
i only used
draw_animation,
set_animation,
set_animation_speed,
and set_animation_offset
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance

User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 401
Joined: Thu Dec 21, 2017 8:02 am
Contact:

Re: Luarendering sometimes messing up brightness

Post by ownlyme »

setting the render layer to "wires-above" fixed it
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance

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

Re: Luarendering sometimes messing up brightness

Post 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.

User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 401
Joined: Thu Dec 21, 2017 8:02 am
Contact:

Re: Luarendering sometimes messing up brightness

Post by ownlyme »

thanks for the insight :)
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance

Post Reply

Return to “Not a bug”