Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MipMaps to PBRTerrainAdvancedTest.java #2289

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

yaRnMcDonuts
Copy link
Contributor

@yaRnMcDonuts yaRnMcDonuts commented Jun 25, 2024

This test case has some noisey rendering due to not setting MipMaps on the terrain material's TextureArrays.

So I added MinFilter.Trilinear to fix this issue, and also added MagFilter.Bilinear.

I don't know much about the different MipMap settings, but MinFilter.Trilinear appeared to create the smoothest results for the terrain in this test case (and my own projects), so I went with that.

This test case has some noisey rendering that are due to not setting mipMaps on the TextureArray.

So I added the MinFilter.Trilinear to fix this issue, and also added MagFilter.Bilinear.
@stephengold stephengold merged commit 6c0ab69 into jMonkeyEngine:master Jul 2, 2024
11 checks passed
@stephengold stephengold added the examples specific to the jme3-examples sub-project label Jul 2, 2024
@scenemax3d scenemax3d added this to the v3.7.0 milestone Jul 5, 2024
scenemax3d pushed a commit that referenced this pull request Jul 5, 2024
This test case has some noisey rendering that are due to not setting mipMaps on the TextureArray.

So I added the MinFilter.Trilinear to fix this issue, and also added MagFilter.Bilinear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples specific to the jme3-examples sub-project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants