[1.1.5] take_screenshot with anti-alias produces partially blurred image
Posted: Thu Dec 10, 2020 11:10 am
What?
When using {anti_aliasing = true} some objects, but not all, are slightly shifted in position and heavily blurred. The effect gets stronger with lower graphics quality settings.
Examples
I took two screenshots (with and without anti-aliasing) on low texture settings and made a before-after gif. When taken on high settings the trees aren't blurred, but the decorations still are.
When using {anti_aliasing = true} some objects, but not all, are slightly shifted in position and heavily blurred. The effect gets stronger with lower graphics quality settings.
Examples
I took two screenshots (with and without anti-aliasing) on low texture settings and made a before-after gif. When taken on high settings the trees aren't blurred, but the decorations still are.
Code: Select all
0.174 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: low-quality] [Color: 32bit]
0.175 [Max threads (load/render): 32/4] [Max texture size: 4096] [Tex.Stream.: 0] [Rotation quality: low] [Other: sTDCwt] [B:0,C:0,S:105]
Code: Select all
/c
local player = game.player
game.take_screenshot {
allow_in_replay = false,
anti_alias = true,
by_player = player,
daytime = 1,
force_render = true,
path = "screenshot_066h_01m_35s.png",
player = player,
position = {
x = 438.5,
y = 28.5
},
quality = 80,
resolution = {
416,
288
},
show_entity_info = true,
show_gui = false,
surface = player.surface,
zoom = 1
}