Babylon.js icon indicating copy to clipboard operation
Babylon.js copied to clipboard

KHR_materials_volume_scatter import

Open MiiBond opened this issue 3 months ago • 12 comments

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.

MiiBond avatar Sep 24 '25 23:09 MiiBond

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.

bjsplat avatar Sep 24 '25 23:09 bjsplat

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.

bjsplat avatar Sep 25 '25 02:09 bjsplat

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

bjsplat avatar Sep 25 '25 03:09 bjsplat

Devhost visualization test reporter:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/devhostplaywright/index.html

bjsplat avatar Sep 25 '25 03:09 bjsplat

Interaction tests

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/interactionplaywright/index.html

bjsplat avatar Sep 25 '25 03:09 bjsplat

WebGL2 visualization test reporter:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/webgl2playwright/index.html

bjsplat avatar Sep 25 '25 03:09 bjsplat

Visualization tests for WebGPU

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/webgpuplaywright/index.html

bjsplat avatar Sep 25 '25 03:09 bjsplat

This pull request has been marked as stale because it has been inactive for more than 14 days. Please update to "unstale".

github-actions[bot] avatar Oct 24 '25 00:10 github-actions[bot]

Devhost visualization test reporter:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/devhostplaywright/index.html

bjsplat avatar Oct 27 '25 16:10 bjsplat

Interaction tests

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/interactionplaywright/index.html

bjsplat avatar Oct 27 '25 16:10 bjsplat

WebGL2 visualization test reporter:

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/webgl2playwright/index.html

bjsplat avatar Oct 27 '25 16:10 bjsplat

Visualization tests for WebGPU

https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/17194/merge/testResults/webgpuplaywright/index.html

bjsplat avatar Oct 27 '25 16:10 bjsplat