This commit is contained in:
Flatlogic Bot 2025-09-29 09:11:15 +00:00
parent 5e6cf451d8
commit 1356ba5e31

View File

@ -55,7 +55,7 @@ scene.add(stars);
// --- Sun ---
const sunTexture = textureLoader.load('assets/textures/sun.jpg');
const sunMaterial = new THREE.MeshBasicMaterial({ map: sunTexture });
const sun = new THREE.Mesh(new THREE.SphereGeometry(5, 32, 32), sunMaterial);
const sun = new THREE.Mesh(new THREE.SphereGeometry(7, 32, 32), sunMaterial);
scene.add(sun);
// --- Planets & Orbits ---