This is a demo of a 3D TV with a video playing on it. The video is a VideoTexture
- Node.js (>= 20.10.0)
Clone the project and install dependencies with npm install
(or pnpm install
or yarn
).
Start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of the app, run the following command.
This will create an optimized build of the app in the dist
folder.
npm run build
You can preview the production build with npm run preview
.
- (optional) Change the default engine to WebGPU and add a fallback to WebGL
The names of actual companies and products mentioned herein may be the trademarks of their respective owners. Except where otherwise noted, the content provided in this repository is licensed under a Attribution-NonCommercial 4.0 International, and code samples are licensed under the MIT license.