feat: update color scheme and layout adjustments across components
This commit is contained in:
@@ -12,39 +12,42 @@ import { Color } from "three";
|
||||
import SimulationDuplicate from "./duplicateSimulation/duplicateSimulation";
|
||||
|
||||
export default function DuplicateScene() {
|
||||
const projectId = "684bcd620a64bc2a815a88d6";
|
||||
const projectId = "6842c683d4c6ce57664da93b";
|
||||
|
||||
return (
|
||||
<Canvas
|
||||
id="sceneCanvas"
|
||||
shadows
|
||||
color="#aaaa"
|
||||
eventPrefix="client"
|
||||
style={{
|
||||
pointerEvents: 'none'
|
||||
}}
|
||||
onContextMenu={(e) => {
|
||||
e.preventDefault();
|
||||
}}
|
||||
onCreated={(e) => {
|
||||
e.scene.background = new Color(0x19191d);
|
||||
}}
|
||||
gl={{ powerPreference: "high-performance", antialias: true, preserveDrawingBuffer: true }}
|
||||
>
|
||||
return (
|
||||
<Canvas
|
||||
id="sceneCanvas"
|
||||
shadows
|
||||
color="#aaaa"
|
||||
eventPrefix="client"
|
||||
style={{
|
||||
pointerEvents: "none",
|
||||
}}
|
||||
onContextMenu={(e) => {
|
||||
e.preventDefault();
|
||||
}}
|
||||
onCreated={(e) => {
|
||||
e.scene.background = new Color(0x19191d);
|
||||
}}
|
||||
gl={{
|
||||
powerPreference: "high-performance",
|
||||
antialias: true,
|
||||
preserveDrawingBuffer: true,
|
||||
}}
|
||||
>
|
||||
<Sun />
|
||||
|
||||
<Sun />
|
||||
<Shadows />
|
||||
|
||||
<Shadows />
|
||||
<ControlsDuplicate />
|
||||
|
||||
<ControlsDuplicate />
|
||||
<PostProcessingDuplicate />
|
||||
|
||||
<PostProcessingDuplicate />
|
||||
<Environment files={background} environmentIntensity={1.5} />
|
||||
|
||||
<Environment files={background} environmentIntensity={1.5} />
|
||||
<BuilderDuplicate projectId={projectId} />
|
||||
|
||||
<BuilderDuplicate projectId={projectId} />
|
||||
|
||||
<SimulationDuplicate />
|
||||
</Canvas>
|
||||
);
|
||||
}
|
||||
<SimulationDuplicate />
|
||||
</Canvas>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user