michaeldll / pmrem

Experimenting with real-time Prefiltered, Mipmapped Radiance Environment Maps (PMREM).

Home Page:https://pmrem.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prefiltered, Mipmapped Radiance Environment Maps (PMREM) Experimentation

Boilerplate :

As barebones I'm willing to go. You probably don't want to use this (?).

Featuring:

  • Few dependencies
  • Fast build times
  • Typescript, GLSL and SASS support

How to develop

npm i && npm run dev

This will serve public/index.html using bundled public/built/app.js and public/built/scss/ from /src/app.ts on localhost:1234.

Assets need to be fetched from the public folder.

It does not output the bundle to disk.

How to deploy

npm run build

to minify files, then deploy the public folder.

This essentially uses the same script as the dev command, but runs it just once and outputs the minified bundle to public/built.

About

Experimenting with real-time Prefiltered, Mipmapped Radiance Environment Maps (PMREM).

https://pmrem.vercel.app

License:MIT License


Languages

Language:JavaScript 80.2%Language:TypeScript 18.8%Language:SCSS 0.5%Language:HTML 0.4%