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

SpecularGlossiness model is not displayed correctly #38

Open
cx20 opened this issue Nov 1, 2019 · 2 comments
Open

SpecularGlossiness model is not displayed correctly #38

cx20 opened this issue Nov 1, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@cx20
Copy link

cx20 commented Nov 1, 2019

I tried to display SpecGlossVsMetalRough.gltf using the latest version of Ashes.

However, the SpecularGlossiness model does not seem to be displayed correctly.
image

@but0n but0n added the enhancement New feature or request label Nov 1, 2019
@but0n
Copy link
Owner

but0n commented Nov 1, 2019

This is a known issue, Ashes doesn't support any extensions yet.

@but0n
Copy link
Owner

but0n commented Nov 1, 2019

FYI: You can use HDR environment textures in the latest version.
Usage:

let assetRoot = 'https://but0n.github.io/Ashes/
let specEnv = await Asset.loadCubemap(assetRoot + 'res/envmap/helipad/', 'hdr');
let diffEnv = await Asset.loadCubemap(assetRoot + 'res/envmap/helipad_diff/', 'hdr');
let gltfroot = scene.appendChild(await Asset.loadGLTF(gltf, screen, specEnv, diffEnv));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants