Open NCommander opened 11 months ago
Is there a fix for this?
Tentative fix for this is changing triple_rail_pictures
in prototypes/entity/pictures.lua
to do a full copy and then adjust the shifts (current version loses some extra properties like mipmaps?)
local function triple_rail_pictures(direction, layers)
local out = {}
for _, layer in ipairs(layers) do
local l = all_base_rail_pictures["straight_rail_" .. direction][layer]
for i=-1,1 do
local shift = { i * 2, 0 }
if direction == "vertical" then
shift = { 0, i * 2 }
end
out[#out+1] = util.table.deepcopy(l)
out[#out].shift = shift
out[#out].hr_version.shift = shift
end
end
return out
end
I originally posted this on reddit (https://www.reddit.com/r/factorio/comments/18l15ng/how_to_debug_a_renderer_issue_with_mods/) , but I was able to isolate a problem with railloader on Apple M2 silicon. When installed, it causes rails to render as white lines when zoomed out:
but look fine when zoomed in:
Adjusting settings had no effect.