Page 1 of 1
[fixed in 0.4.13-dev][opengl] Snow visual glitch

Posted:
Fri Oct 16, 2015 21:59
by Fixerol
It is easy to notice this problem with snow (with broken borders), look on screenshot.
Specs: MT 0.4.13 64bit msvc on Win7 64bit, ATI Radeon HD 6870, Catalyst 15.7.1
Glitch is present on default textures (and possibly others), and depends on viewing distance and angle (it seems), it is more pronounced when looking from the hill down).
This bug is or somehow connected to texture tear problem I described in another post. Using d3d9 without shaders fixes this problem for me.
Please vote if you have this bug.
My config:
anisotropic_filter = true
bilinear_filter = false
connected_glass = true
enable_bumpmapping = true
enable_parallax_occlusion = true
enable_waving_leaves = true
enable_waving_plants = true
enable_waving_water = true
fsaa = 0
generate_normalmaps = true
leaves_style = fancy
maintab_LAST = multiplayer
menu_last_game = minetest
mip_map = true
name = Fixer
server_dedicated = false
trilinear_filter = false
language = en
cinematic = false
creative_mode = true
fixed_map_seed =
free_move = true
mainmenu_last_selected_world = 3
mg_name = v7
public_serverlist = true
fps_max = 120
viewing_range_nodes_min = 70
wanted_fps = 75
address = 23.28.75.103
remote_port = 30000
enable_minimap = true
minimap_shape_round = false
sound_volume = 0.5
fast_move = false
noclip = true
selected_world_path = D:\Games\Minetest\minetest-stable\bin\..\worlds\CarboWorld
world_config_selected_mod = 1
active_block_range = 1
enable_damage = true
server_announce = false
wieldview_node_tiles = false
wieldview_update_time = 2
port = 30000
Screenshot:

Re: [bug][0.4.13] Snow visual glitch

Posted:
Sat Oct 17, 2015 11:45
by Krock
When you change this setting:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Do you still get those borders?
Re: [bug][0.4.13] Snow visual glitch

Posted:
Sat Oct 17, 2015 16:29
by Fixerol
Krock wrote:When you change this setting:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Do you still get those borders?
Update: I've tested it on Extreme Survival Minetest (with custom textures, but snow texture looks default), tried everything... and I still see this borders, even with fsaa = 4, 8 or whatever.
This bug could depend on time of day.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Sat Oct 17, 2015 19:48
by kaadmy
It's because of the parallax mapping, I think.
Past the edges of the image boundary, the pixels are black, causing the shader to make the texture appear lower than the surface of the object.
That's just my guess, try disabling parallax mapping, and see if it's fixed.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Sat Oct 17, 2015 22:46
by Fixerol
kaadmy wrote:It's because of the parallax mapping, I think.
Past the edges of the image boundary, the pixels are black, causing the shader to make the texture appear lower than the surface of the object.
That's just my guess, try disabling parallax mapping, and see if it's fixed.
It is not. No effect.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Sat Oct 17, 2015 23:42
by kaadmy
Fixerol wrote:kaadmy wrote:It's because of the parallax mapping, I think.
Past the edges of the image boundary, the pixels are black, causing the shader to make the texture appear lower than the surface of the object.
That's just my guess, try disabling parallax mapping, and see if it's fixed.
It is not. No effect.
Hmm. Maybe try disabling shaders, but that also might not make a difference.
I don't have those problems with snow.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Sun Oct 18, 2015 00:02
by Fixerol
Tried, no luck. You can connect it to Extreme Survival Minetest and test it on exactly my spot (look coordinates on a screenshot), I've tried changing any settings, but it keeps appearing, completely default setup has it too but it is hides sometime (depends on something).
Re: [bug][0.4.13] Snow visual glitch

Posted:
Sun Oct 18, 2015 00:09
by Don
I have that problem with a few textures. I think it's bumpmapping that does it.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Sun Oct 18, 2015 00:20
by Fixerol
Tried that too, no effect.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Sun Oct 18, 2015 01:17
by Don
I have the same effect with mypaths mod. Without bumpmapping it's fine.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Wed Nov 04, 2015 22:31
by Fixerol
Another example, this is probably related to texture tear problem too (z-fighting problem?):

Re: [bug][0.4.13] Snow visual glitch

Posted:
Wed Nov 04, 2015 22:49
by RHR
Saidly that issue isn't new. It's seems to be caused by opengl or the wilditem glitch or both together, idk. I have the same problem since 4.11 (dec 2014). It really sucks. :(
https://github.com/minetest/minetest/issues/2035https://github.com/minetest/minetest/issues/2350https://github.com/minetest/minetest/issues/3069viewtopic.php?f=6&t=10862
Re: [bug][0.4.13] Snow visual glitch

Posted:
Thu Nov 05, 2015 07:36
by firefox
the torch in your hand also looks weird.
maybe it is related to graphic options like bumpmapping and the others.
i don't use those settings and i don't have any glitches.
(i use the dayly ppa build)
Re: [bug][0.4.13] Snow visual glitch

Posted:
Thu Nov 05, 2015 15:10
by Fixerol
maybe it is related to graphic options like bumpmapping and the others.
Guh, it is not bumpmapping or shaders, I've tried turning off all of that.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Thu Nov 05, 2015 15:50
by Hybrid Dog
Does it also happen if you use linux?
Re: [bug][0.4.13] Snow visual glitch

Posted:
Thu Nov 05, 2015 21:45
by Fixerol
Don't have any linux distro right now.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Fri Nov 06, 2015 07:30
by paramat
I assume it's an issue with snow nodeboxes not full-node snowblocks.
Those nodeboxes used in large numbers in mapgen seem to cause FPS drop too, i'm tempted to remove all nodeboxes from mapgen and only use snowblocks, but they don't look so nice on pines so it's a dilemma.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Fri Nov 06, 2015 11:13
by Fixerol
Don't remove them please (snow on trees is very nice), there must be some way to fix this, it looks for me that it has some relation to wielditems bug or/and slab lightning bug. FPS drop is small, if you compare with forests, no need to remove.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Fri Nov 06, 2015 23:11
by jp
paramat wrote:i'm tempted to remove all nodeboxes from mapgen and only use snowblocks, but they don't look so nice on pines so it's a dilemma.
Alternatively we could have a "needles + snow" texture as well, and no snowblock needed atop. Otherwise agreed, these nodeboxes cause a huge FPS drop in snowy forrest. Best to discuss that on the tracker anyways.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Sat Nov 07, 2015 01:45
by paramat
The snow nodeboxes on the trees are so pretty i can't remove those and i think i prefer that to a snowy needles node, although that could be tried.
One thing i could do is remove the nodeboxes from tundra, they're not needed as the dirt_with_snow has a nice thin layer of snow/frost on it.
Re: [bug][0.4.13] Snow visual glitch

Posted:
Mon Nov 09, 2015 16:48
by Fixerol
I've added a poll, please vote! Developers need this info
Re: [bug][0.4.13] Snow visual glitch

Posted:
Tue Nov 10, 2015 22:12
by Fixerol
I don't have this problem with Direct3D9Proof:

Re: [bug][0.4.13][opengl] Snow visual glitch

Posted:
Wed Nov 11, 2015 02:13
by paramat
I've now removed snow nodeboxes from tundra.
Re: [bug][0.4.13][opengl] Snow visual glitch

Posted:
Thu Jan 21, 2016 20:32
by Fixerol
This issue was fixed and merged into 0.4.13-dev:
https://github.com/minetest/minetest/pull/3594 (windows binaries available for test!)