glTF-Sample-Viewer
glTF-Sample-Viewer copied to clipboard
Physically-Based Rendering in glTF 2.0 using WebGL
According to the [KHR_materials_specular](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_specular/README.md) specification, `specularFactor` and `specularColorFactor` should have no affect on metal materials, but metal materials appear significantly darker with a reduced specular factor. Most other rendering engines...
Hello, I noticed an issue with models that use `KHR_materials_volume` with certain attenuation color values. The function `applyVolumeAttenuation` in `punctual.glsl` has the following line: ``` vec3 attenuationCoefficient = -log(attenuationColor) /...
New Feature: Develop a UI that works for mobile browsers. The current version works when the browser is forced to desktop mode, but not everyone knows or thinks to do...
The validator reports an error on this example file, but the viewer accepts it without any issue. I feel like this is a slippery slope when it comes to the...
I’m able to drag-and-drop this asset into glTF Sample Viewer (https://github.khronos.org/glTF-Sample-Viewer-Release/) and see the correct transforms:  Animation is not rendered, since this uses [KHR_animation_pointer](https://github.com/KhronosGroup/glTF/pull/2147) and the...
I would appreciate to have a great glTF viewer for Windows (11). Just like the [3D-Viewer](https://apps.microsoft.com/store/detail/3dviewer/9NBLGGH42THS) (shipped with Windows 10+). but better (3D-Viewer doesn't work with open-with in Windows 11...
Instead of keeping the glTF models as a submodule, fetch them on demand.
1. https://github.khronos.org/glTF-Sample-Viewer-Release/ 2. Model = GlassBrokenWindow Result: no errors. This is as expected. 3. Unzip the attached asset, and drag-and-drop the GLB into the viewer. Result: Two problems: a) Error...
I'd like the root-level library to move down into a folder. The structure of this repository places the main library, an npm package called `@khronosgroup/gltf-viewer`, at the root level. There...
After following the instructions for running the web app from scratch, and trying to run `npm run dev`, I get the following error: ``` [0] (!) `this` has been rewritten...