WebGL-Scene

A scene in WebGL with many features and techniques implemented.

Components

Basic 2D and 3D models

The scene contains 2D Squares and 3D cubes and pyramids with texture mapping and lighting.

Sphere

The scene contains a 3D sphere with color and light shading created using recursive subdivision on an Icosphere

SMF Model Loading

The scene contains an SMF model loader that allows you to load any model in SMF formats.

Directional Lighting

The scene contains a directional lighting shader. The light rotates around the scene like a sun.

Spot Light

The scene contains a spotlight pointed in the direction of the camera.

Camera Movement

The scene contains a complete freeform camera movement system which can move and rotate in any direction.

Preview

image image image

GitHub

View Github