File tree Expand file tree Collapse file tree 4 files changed +469
-1
lines changed
examples/playcanvas/complex Expand file tree Collapse file tree 4 files changed +469
-1
lines changed Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ Test of WebGPU
14
14
| [ RedGPU] ( https://github.com/redcamel/RedGPU ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/redgpu/triangle/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/redgpu/square/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/redgpu/cube/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/redgpu/texture/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/redgpu/teapot/index.html ) | | |
15
15
| [ three.js] ( https://github.com/mrdoob/three.js/ ) (using [ TSL] ( https://github.com/mrdoob/three.js/wiki/Three.js-Shading-Language ) ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/threejs/triangle/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/threejs/square/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/threejs/cube/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/threejs/texture/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/threejs/teapot/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/threejs/primitive/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/threejs/complex/index.html ) |
16
16
| [ Hilo3d] ( https://github.com/06wj/WebGPU-Playground ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/hilo3d/triangle/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/hilo3d/square/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/hilo3d/cube/index.html ) | | | | |
17
- | [ PlayCanvas] ( https://github.com/playcanvas/engine/tree/main/src/platform/graphics/webgpu ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/triangle/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/square/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/cube/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/texture/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/teapot/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/primitive/index.html ) | |
17
+ | [ PlayCanvas] ( https://github.com/playcanvas/engine/tree/main/src/platform/graphics/webgpu ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/triangle/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/square/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/cube/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/texture/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/teapot/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/playcanvas/primitive/index.html ) | [ Link ] ( https://cx20.github.io/webgpu-test/examples/playcanvas/complex/index.html ) (WIP) |
18
18
| [ Rhodonite] ( https://github.com/actnwit/RhodoniteTS ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/rhodonite/triangle/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/rhodonite/square/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/rhodonite/cube/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/rhodonite/texture/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/rhodonite/teapot/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/rhodonite/primitive/index.html ) | [ Link] ( https://cx20.github.io/webgpu-test/examples/rhodonite/complex/index.html ) |
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < title > [WIP][WebGPU] Testing Complex sample Using PlayCanvas</ title >
5
+ < link rel ="stylesheet " type ="text/css " href ="style.css ">
6
+ </ head >
7
+ < body >
8
+ <!-- Since import maps are not yet supported by all browsers, its is
9
+ necessary to add the polyfill es-module-shims.js -->
10
+ < script async src ="
https://unpkg.com/[email protected] /dist/es-module-shims.js "
> </ script >
11
+
12
+ < script type ="importmap ">
13
+ {
14
+ "imports" : {
15
+ "playcanvas" : "https://cx20.github.io/gltf-test/libs/playcanvas/v2.5.0/playcanvas-stable.min.mjs" ,
16
+ "camera-controls" : "https://cx20.github.io/gltf-test/libs/playcanvas/v2.5.0/camera-controls.mjs" ,
17
+ "dat.gui" : "https://cx20.github.io/gltf-test/libs/common/dat.gui.module.js"
18
+ }
19
+ }
20
+ </ script >
21
+
22
+ < canvas id ="application "> </ canvas >
23
+ < script type ="module " src ="index.js "> </ script >
24
+ </ body >
25
+ </ html >
You can’t perform that action at this time.
0 commit comments