armory3d / armory3d/armory

Decal filtering jagged noise

Open
#378 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
3.3k
Forks
353
Avg merge
3d 16h
Merged PRs (30d)
1

Description

I've been having some trouble getting decals to look nice, as per default (when trying out the decal example, I get these weird jagged noise around the edges when using anisotropic filtering:

![decal_anisotropic](https://user-images.githubusercontent.com/5429817/33318518-2b37b634-d43b-11e7-8f62-83b704ff8649.png)

Then I tried to see if it would help to the texture filtering to something else (ie. linear), and it did help quite a bit, but still with rough edges:

![decal_linear](https://user-images.githubusercontent.com/5429817/33318523-3041aafe-d43b-11e7-961a-1a35c2fd043e.png)

Then I checked out the various anti-aliasing methods to see if it helped to no avail, to me only the costly Supersampling method worked, which had another weird effect, creating some sort of interference line at the top:

![decal_fxaa_4x_supersampling](https://user-images.githubusercontent.com/5429817/33318550-439f7464-d43b-11e7-9cb7-669511d7fce3.png)

This seemed to only be the combination of FXAA + Supersamling, as Supersampling + SMAA/TAA didn't show similar results:

![decal_smaa_4x_supersampling](https://user-images.githubusercontent.com/5429817/33318585-5f1d8e7e-d43b-11e7-8a14-89d8f66bf48d.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is named. Reproduce the decal example with anisotropic and linear filtering, then compare FXAA, SMAA, TAA, and supersampling as shown in the report. Done means the jagged decal edges and the supersampling interference line are explained and corrected without introducing a new artifact.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.