Skip to content

Commit 2f952cf

Browse files
authored
Example.css: Add invert class (#31962)
1 parent b08c95d commit 2f952cf

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

examples/example.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,7 @@ a {
8888
background: #c3c3c3;
8989
opacity: .5;
9090
}
91+
92+
#info.invert {
93+
filter: invert(1);
94+
}

examples/webgpu_depth_texture.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@
33
<title>three.js webgpu - depth texture</title>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
6-
<link type="text/css" rel="stylesheet" href="main.css">
6+
<link type="text/css" rel="stylesheet" href="example.css">
77
</head>
88
<body>
99

10-
<div id="info">
11-
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> webgpu - depth texture
10+
<div id="info" class="invert">
11+
<a href="https://threejs.org/" target="_blank" rel="noopener" class="logo-link"></a>
12+
13+
<div class="title-wrapper">
14+
<a href="https://threejs.org/" target="_blank" rel="noopener">three.js</a><span>Depth Texture</span>
15+
</div>
16+
17+
<small>Rendering the scene's depth into a texture for later use</small>
1218
</div>
1319

1420
<script type="importmap">

0 commit comments

Comments
 (0)