Skip to content

Commit

Permalink
[GLTFExample] Fixed resouces file paths (mgsx-dev#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfgang-ch authored Jan 7, 2023
1 parent 227214d commit 3312170
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demo/core/src/net/mgsx/gltf/examples/GLTFExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ public void create() {

// setup IBL (image based lighting)
environmentCubemap = EnvironmentUtil.createCubemap(new InternalFileHandleResolver(),
"textures/environment/environment_", "_0.png", EnvironmentUtil.FACE_NAMES_NEG_POS);
"textures/environment/environment_", ".png", EnvironmentUtil.FACE_NAMES_NEG_POS);
diffuseCubemap = EnvironmentUtil.createCubemap(new InternalFileHandleResolver(),
"textures/diffuse/diffuse_", "_0.jpg", EnvironmentUtil.FACE_NAMES_NEG_POS);
"textures/diffuse/diffuse_", ".png", EnvironmentUtil.FACE_NAMES_NEG_POS);
specularCubemap = EnvironmentUtil.createCubemap(new InternalFileHandleResolver(),
"textures/specular/specular_", "_", ".jpg", 10, EnvironmentUtil.FACE_NAMES_NEG_POS);
"textures/specular/specular_", "_", ".png", 10, EnvironmentUtil.FACE_NAMES_NEG_POS);
brdfLUT = new Texture(Gdx.files.classpath("net/mgsx/gltf/shaders/brdfLUT.png"));

sceneManager.setAmbientLight(1f);
Expand Down

0 comments on commit 3312170

Please sign in to comment.