add-stereo-exp1 #1
@@ -1,5 +1,6 @@
 | 
			
		||||
import { useThree, extend } from '@react-three/fiber'
 | 
			
		||||
import { OrbitControls } from '@react-three/drei'
 | 
			
		||||
import { DoubleSide } from 'three'
 | 
			
		||||
 | 
			
		||||
export default function Experience()
 | 
			
		||||
{
 | 
			
		||||
@@ -13,12 +14,12 @@ export default function Experience()
 | 
			
		||||
 | 
			
		||||
    <mesh position-y={ 5 } scale={ 10 }>
 | 
			
		||||
      <planeGeometry />
 | 
			
		||||
      <meshStandardMaterial color="blue"/>
 | 
			
		||||
      <meshStandardMaterial color="blue" side={DoubleSide}/>
 | 
			
		||||
    </mesh>
 | 
			
		||||
 | 
			
		||||
    <mesh position-y={ - 1 } rotation-x={ - Math.PI * 0.5 } scale={ 10 }>
 | 
			
		||||
      <planeGeometry />
 | 
			
		||||
      <meshStandardMaterial color="grey" />
 | 
			
		||||
      <meshStandardMaterial color="grey" side={DoubleSide}/>
 | 
			
		||||
    </mesh>
 | 
			
		||||
  </>
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user