Skip to content

michaeldll/webgl-doom-glare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL Doom Glare

Original inspiration: http://yzergame.com/doomGlare.html and http://simonschreibt.de/gat/doom-3-volumetric-glow/

Basic implementation of Doom 3's "Glare". It fakes a simple bloom effect by extruding vertices and interpolating their vertex colors.

Looking for help in improving it!

Deploy: https://webgl-doom-glare.vercel.app

hunter-gatherer boilerplate

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

Featuring:

  • Only 3 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.