Skip to content

Commit 03bd7db

Browse files
committed
credits
1 parent 74325ba commit 03bd7db

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

example/spotLights.html

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,6 @@
3636
color: white;
3737
font-family: 'Courier New', Courier, monospace;
3838
}
39-
40-
.checkerboard {
41-
background-image:
42-
linear-gradient(45deg, #222 25%, transparent 25%),
43-
linear-gradient(-45deg, #222 25%, transparent 25%),
44-
linear-gradient(45deg, transparent 75%, #222 75%),
45-
linear-gradient(-45deg, transparent 75%, #222 75%);
46-
background-size: 20px 20px;
47-
background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
48-
}
4939
</style>
5040

5141
</head>
@@ -55,6 +45,9 @@
5545
<div>
5646
<div id="samples">--</div>
5747
</div>
48+
<div>
49+
<div id="credits">Model by Benedict Chew on Sketchfab</div>
50+
</div>
5851
</div>
5952
<script src="./spotLights.js" type="module"></script>
6053
</body>

example/spotLights.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async function init() {
131131
c.receiveShadow = true;
132132
if ( c.material ) {
133133

134-
c.material.roughness = 0.2;
134+
c.material.roughness = 0.4;
135135

136136
}
137137

0 commit comments

Comments
 (0)