Skip to content

Commit

Permalink
Small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpolarzero committed Dec 25, 2022
1 parent cbe8b8f commit b7e81c5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
4 changes: 0 additions & 4 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,12 @@ const App = () => {
]}
>
<Canvas
shadows
camera={{
fov: 75,
near: 0.1,
far: 1000,
position: [-4, 2, -4],
}}
onCreated={({ gl }) => {
gl.setClearColor(0x131313, 0);
}}
>
<Perf position='top-left' />
<World />
Expand Down
1 change: 0 additions & 1 deletion src/World/Audio/components/AudioSphere.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Globals.assign({ frameLoop: 'always' });
const AudioSphere = ({ audio, info, analyser }) => {
const [isHovered, setIsHovered] = useState(false);
const [gain, setGain] = useState(0);
const [matColor, setMatColor] = useState(['#000000']);
const [isMuted, setIsMuted] = useState(false);

const { hovered } = useInterface();
Expand Down
1 change: 0 additions & 1 deletion src/World/Environment/components/Lights.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const Lights = () => {
return (
<>
<DREI.Environment preset='city' />
{/* <ambientLight intensity={0.5} /> */}
</>
);
};
Expand Down
2 changes: 2 additions & 0 deletions src/World/Environment/components/Structure.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const material = new THREE.MeshStandardMaterial({
color: 0x131313,
transparent: true,
opacity: 0.3,
// roughness: 0.5,
// metalness: 0.5,
});

const Structure = () => {
Expand Down
18 changes: 9 additions & 9 deletions src/defaults.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ const defaults = {
minScaleMultiplier: 0.5,
maxScaleMultiplier: 5,
// Gravity
gravity: [0, -9.8, 0],
gravity: [0, -5, 0], // Earth: [0, -9.81, 0]
// Colors
colors: {
a1: '#FEC8D8',
a2: '#FFE6EA',
b1: '#C5B0D5',
b2: '#E4D6EC',
c1: '#AED6F1',
c2: '#D9EAF6',
d1: '#A9DFBF',
d2: '#DDEFD9',
a1: '#FFD1E1',
a2: '#FF9BAA',
b1: '#D3B3FF',
b2: '#A066D3',
c1: '#B3E6FF',
c2: '#0099FF',
d1: '#B3FFCC',
d2: '#00CC99',
},
},
};
Expand Down

1 comment on commit b7e81c5

@vercel
Copy link

@vercel vercel bot commented on b7e81c5 Dec 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

metaverse – ./

metaverse-tau-two.vercel.app
metaverse-git-main-polar0.vercel.app
metaverse-polar0.vercel.app

Please sign in to comment.