Skip to content

Commit 73053a3

Browse files
authored
Merge pull request #239 from gkjohnson/spotlights-update
Spot Light Example Update
2 parents fe4861b + be8b3a7 commit 73053a3

File tree

2 files changed

+149
-496
lines changed

2 files changed

+149
-496
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>

0 commit comments

Comments
 (0)