KHR_materials_volume_scatter import
This isn't at all a full implementation of this WIP extension as the PBRMaterial doesn't have the ability to render SSS in the way expected by the extension. And I haven't started implementing transparency or subsurface in OpenPBRMaterial yet...
However, I think this provides a good starting point for future support in OpenPBRMaterial as it adds the appropriate properties in the material adapter and does the needed conversion to OpenPBR-compatible parameters from glTF.
Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s). To prevent this PR from going to the changelog marked it with the "skip changelog" label.
Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s). To prevent this PR from going to the changelog marked it with the "skip changelog" label.
Snapshot stored with reference name: refs/pull/17194/merge
Test environment: https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/17194/merge https://sandbox.babylonjs.com/?snapshot=refs/pull/17194/merge https://gui.babylonjs.com/?snapshot=refs/pull/17194/merge https://nme.babylonjs.com/?snapshot=refs/pull/17194/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/17194/merge#BCU1XR#0
Devhost visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/devhostplaywright/index.html
Interaction tests
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/interactionplaywright/index.html
WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/webgl2playwright/index.html
Visualization tests for WebGPU
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/webgpuplaywright/index.html
This pull request has been marked as stale because it has been inactive for more than 14 days. Please update to "unstale".
Devhost visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/devhostplaywright/index.html
Interaction tests
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/interactionplaywright/index.html
WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/webgl2playwright/index.html
Visualization tests for WebGPU
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/webgpuplaywright/index.html