Skip to content

Commit 503b073

Browse files
committed
Updating material for star emissive properties
1 parent 6282628 commit 503b073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ <h3>Star System Generator</h3>
312312

313313
// Sun
314314
const sunGeometry = new THREE.SphereGeometry(5, 32, 32);
315-
const sunMaterial = new THREE.MeshBasicMaterial({
315+
const sunMaterial = new THREE.MeshStandardMaterial({
316316
color: 0xffff44,
317317
emissive: 0xffff44,
318318
emissiveIntensity: 1,

0 commit comments

Comments
 (0)