Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 821 Bytes

readme.md

File metadata and controls

30 lines (19 loc) · 821 Bytes

{ AR 8thWall ~ Three.js } Vite.js Template ⚡

Description

Minimal reusable template project: AR 8thwall + Three.js made with Vite.js

Screenshot 2022-08-10 154837

Setup

  1. Create .env.local file in the project root and add your 8th Wall key inside:
VITE_8THWALL_APP_KEY=xxxxxxxxxxxxxxxxxxxxxxxxx
  1. Run the following commands:
# Install dependencies (only the first time)
yarn

# Run the local server
yarn dev

# Build for production in the dist/ directory
yarn build

NOTE: if there is an issue with custom shaders, bloom effect etc.. try to downgrade the Three.js version (latest tested Three.js version working was 0.145.0 I just did update the project with [email protected])