Skip to content

Commit

Permalink
Examples: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jan 4, 2022
1 parent 1d1d3d4 commit 9d551a2
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 32 deletions.
2 changes: 1 addition & 1 deletion examples/webgpu_compute.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>
<body>
<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Compute<br/>(Chrome Canary with flag: --enable-unsafe-webgpu)
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Compute
</div>

<script type="importmap">
Expand Down
2 changes: 1 addition & 1 deletion examples/webgpu_instance_uniform.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body>
<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - WebGPU - Instance Uniform<br/>(Chrome Canary with flag: --enable-unsafe-webgpu)
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - WebGPU - Instance Uniform
</div>

<script type="importmap">
Expand Down
2 changes: 1 addition & 1 deletion examples/webgpu_lights_custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>
<body>
<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Custom Lighting Model<br/>(Chrome Canary with flag: --enable-unsafe-webgpu)
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Custom Lighting Model
</div>

<script type="importmap">
Expand Down
1 change: 0 additions & 1 deletion examples/webgpu_lights_selective.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - WebGPU - Selective Lights<br />
(Chrome Canary with flag: --enable-unsafe-webgpu)<br />
<b style="color:red">Left: Red lights</b> - <b>Center: All lights</b> - <b style="color:blue">Right: blue light</b>
</div>

Expand Down
2 changes: 1 addition & 1 deletion examples/webgpu_materials.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</head>
<body>
<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Materials<br/>(Chrome Canary with flag: --enable-unsafe-webgpu)
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Materials
</div>

<script type="importmap">
Expand Down
42 changes: 21 additions & 21 deletions examples/webgpu_nodes_playground.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@
<!-- WebGPU (For Chrome 94-101), expires 09/01/2022 -->
<meta http-equiv="origin-trial" content="AoS1pSJwCV3KRe73TO0YgJkK9FZ/qhmvKeafztp0ofiE8uoGrnKzfxGVKKICvoBfL8dgE0zpkp2g/oEJNS0fDgkAAABeeyJvcmlnaW4iOiJodHRwczovL3RocmVlanMub3JnOjQ0MyIsImZlYXR1cmUiOiJXZWJHUFUiLCJleHBpcnkiOjE2NTI4MzE5OTksImlzU3ViZG9tYWluIjp0cnVlfQ==">
<style>
body {
overflow: hidden;
width: 100%;
height: 100%;
}
.renderer {
position: absolute;
top: 0;
left: 0;
height: 50%;
width: 100%;
}
flow {
position: absolute;
top: 50%;
left: 0;
height: 50%;
width: 100%;
background: #222;
box-shadow: inset 0 0 20px 0px #000000;
}
body {
overflow: hidden;
width: 100%;
height: 100%;
}
.renderer {
position: absolute;
top: 0;
left: 0;
height: 50%;
width: 100%;
}
flow {
position: absolute;
top: 50%;
left: 0;
height: 50%;
width: 100%;
background: #222;
box-shadow: inset 0 0 20px 0px #000000;
}
</style>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/webgpu_rtt.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>
<body>
<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - RTT<br/>(Chrome Canary with flag: --enable-unsafe-webgpu)
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - RTT
</div>

<script type="importmap">
Expand Down
2 changes: 1 addition & 1 deletion examples/webgpu_sandbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>
<body>
<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Sandbox<br/>(Chrome Canary with flag: --enable-unsafe-webgpu)
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Sandbox
</div>

<script type="importmap">
Expand Down
3 changes: 1 addition & 2 deletions examples/webgpu_skinning.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<body>

<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - WebGPU - Skinning<br />
(Chrome Canary with flag: --enable-unsafe-webgpu)
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Skinning
</div>

<script type="importmap">
Expand Down
3 changes: 1 addition & 2 deletions examples/webgpu_skinning_points.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<body>

<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - WebGPU - Skinning Points<br />
(Chrome Canary with flag: --enable-unsafe-webgpu)
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - WebGPU - Skinning Points
</div>

<script type="importmap">
Expand Down

0 comments on commit 9d551a2

Please sign in to comment.