You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When gdx-gltf was added in, environmental maps were not really fleshed out. Mundus is using gdx-gltf's IBLBuilder.createOutdoor() method and this creates a basic outdoor area for environmental diffuse/specular maps which does not match the Mundus scenes environment / skybox at all.
Not sure what the solution will be yet but this will require some refactoring. More research is needed find out if we can generate these textures based on skybox ( I doubt it ) or if we need the user to provide them.
Edit a models material make it fully metallic and low roughness.
Screenshots
On left you can see how it looks in a vanilla gdx-gltf app, on right with a metallic cube you can see it in Mundus as well, not matching the scene skybox at all
The text was updated successfully, but these errors were encountered:
1: is to use IBLBuilder iblBuilder = IBLBuilder.createIndoor(dirLight); but its produces a slightly darker rendering.
2: The other is to modify your own IBLBuilder based on the default outdoor (color settings might still need to be tweaked)... the goal is to make sure you do not have major contrast between sky and ground colors:
3: the last option which produces the best results is to use IBLComposer in gdx-gltf to produce the cubemaps but Mundus now needs a way to import and add the produced assets (enviromentCubemap, diffuseCubemap, specularCubemap).
Describe the bug
When gdx-gltf was added in, environmental maps were not really fleshed out. Mundus is using gdx-gltf's IBLBuilder.createOutdoor() method and this creates a basic outdoor area for environmental diffuse/specular maps which does not match the Mundus scenes environment / skybox at all.
Not sure what the solution will be yet but this will require some refactoring. More research is needed find out if we can generate these textures based on skybox ( I doubt it ) or if we need the user to provide them.
Related to: #236
Docs on gdx-gltf
https://github.com/mgsx-dev/gdx-gltf/blob/master/docs/IBL.md
Code within Mundus:
To Reproduce
Steps to reproduce the behavior:
Screenshots
On left you can see how it looks in a vanilla gdx-gltf app, on right with a metallic cube you can see it in Mundus as well, not matching the scene skybox at all
The text was updated successfully, but these errors were encountered: