Page MenuHomeWildfire Games

Fix visual glitch on some trees
AbandonedPublic

Authored by Stan on Dec 27 2019, 5:33 PM.

Details

Reviewers
vladislavbelov
Summary

When reviewing some trees from BigTiger (See attached mod) I noticed a bug with our engine where the entities using alpha would not be sorted according to depth, which would make the field go in front of the trees for instance

You can load the map test.xml

and see the bug. Notice than reloading the map a second time fixes the bug, but it's always broken the first time.

Test Plan

Notice the bug never happens with the patch.

Check the performance impact. I couldn't notice any but I have a pretty good machine.

Diff Detail

Event Timeline

Stan created this revision.Dec 27 2019, 5:33 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/899/display/redirect

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1415/display/redirect

Stan abandoned this revision.Dec 13 2020, 12:38 AM

Problem is due to mipmap generation this only hides the bug. Plus, it crashes.