This is a Next.js project bootstrapped with create-next-app
.
https://6d-pavilion-sajithamma.vercel.app/
<mesh scale={1} rotation={[0, Math.PI, 0]} position={[0, 20, 0]} ref={leftscreen}>
<planeBufferGeometry attach="geometry" args={[80, 40]} />
<meshStandardMaterial emissive={"white"} side={THREE.DoubleSide}>
<videoTexture repeat={[0.6, 0.35]} offset={[0.4, 0]} attach="map" args={[video]} encoding={THREE.sRGBEncoding} />
<videoTexture attach="emissiveMap" args={[video]} />
</meshStandardMaterial>
</mesh>
First, run the development server:
npm install
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.