/Character-Controls

Three.js implementation of Basic Character Controls

Primary LanguageTypeScriptMIT LicenseMIT

Lighting in WebGL

Implementing some common lighting models in GLSL using Shaders in Three.js. Bundled using Vite.

Requirements

  • node.js
  • npm
  • browser that supports WebGL

Installation

Run npm install in the root of the project directory.

Run

The command:

npm run dev

will start a local webserver combined with a watcher that recompiles every changed (typescript) file within this folder.

Developing

The main entrypoint is src/main.ts.