Page 1 of 1

[fixed in 0.4.13-dev][opengl] Snow visual glitch

PostPosted: 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:
+ Spoiler

Screenshot:
Image

Re: [bug][0.4.13] Snow visual glitch

PostPosted: 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.
Code: Select all
fsaa = 4

Do you still get those borders?

Re: [bug][0.4.13] Snow visual glitch

PostPosted: 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.
Code: Select all
fsaa = 4

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

PostPosted: 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

PostPosted: 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

PostPosted: 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

PostPosted: 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

PostPosted: 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

PostPosted: Sun Oct 18, 2015 00:20
by Fixerol
Tried that too, no effect.

Re: [bug][0.4.13] Snow visual glitch

PostPosted: 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

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

Re: [bug][0.4.13] Snow visual glitch

PostPosted: 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/2035
https://github.com/minetest/minetest/issues/2350
https://github.com/minetest/minetest/issues/3069
viewtopic.php?f=6&t=10862

Re: [bug][0.4.13] Snow visual glitch

PostPosted: 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

PostPosted: 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

PostPosted: 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

PostPosted: Thu Nov 05, 2015 21:45
by Fixerol
Don't have any linux distro right now.

Re: [bug][0.4.13] Snow visual glitch

PostPosted: 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

PostPosted: 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

PostPosted: 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

PostPosted: 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

PostPosted: 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

PostPosted: Tue Nov 10, 2015 22:12
by Fixerol
I don't have this problem with Direct3D9
Proof:
Image

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

PostPosted: 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

PostPosted: 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!)