import React from 'react'; import { Clouds as DreiClouds, Cloud } from '@react-three/drei'; import * as THREE from 'three'; const Clouds = ({ intensity = 0.7, speed = 0.1, portalMode = false }) => { // Determine cloud colors based on weather condition const getCloudColors = () => { return { primary: '#FFFFFF', secondary: '#F8F8F8', tertiary: '#F0F0F0', light: '#FAFAFA', intensity: intensity }; }; const colors = getCloudColors(); // Portal mode: show fewer, centered clouds for performance if (portalMode) { return ( {/* Only 2 centered clouds for portal preview */} ); } // Full cloud system for main scene and fullscreen portals return ( {/* Large fluffy cloud cluster */} {/* Additional smaller fluffy clouds */} ); }; export default Clouds;