Explorar el Código

Examples: Clean up.

Mr.doob hace 3 años
padre
commit
9d551a2640

+ 1 - 1
examples/webgpu_compute.html

@@ -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">

+ 1 - 1
examples/webgpu_instance_uniform.html

@@ -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">

+ 1 - 1
examples/webgpu_lights_custom.html

@@ -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">

+ 0 - 1
examples/webgpu_lights_selective.html

@@ -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>
 

+ 1 - 1
examples/webgpu_materials.html

@@ -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">

+ 21 - 21
examples/webgpu_nodes_playground.html

@@ -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>

+ 1 - 1
examples/webgpu_rtt.html

@@ -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">

+ 1 - 1
examples/webgpu_sandbox.html

@@ -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">

+ 1 - 2
examples/webgpu_skinning.html

@@ -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">

+ 1 - 2
examples/webgpu_skinning_points.html

@@ -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">