Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
common
experiments/instancing
styles
.gitattributes
LICENSE
README.md
index.html

README.md

WebGL Experiments

DISCLAIMER

The usage of the word experiment should always be kept in mind when viewing, evaluating, or using any of the code or ideas demonstrated within this repository.

Overview

(View the Experiments Live)

A collection of various experiments made using WebGL.

In addition to the ideas displayed in the various demos, this repository houses a very simple rendering engine with the following concepts:

  • Scene - composed of a number of scene objects
  • SceneObject - individual object in the scene with it's own rendering information and update logic
  • RenderableComponent - combination of a material and mesh
  • Material - combination of a shader program and a collection of uniforms and properties
  • MaterialPropertyBlock - properties supplied as input to shaders. Either a uniform or attribute dependending on the material.
  • Mesh - combination of a vertex and index buffer
  • Renderer - responsible for drawing all applicable scene objects
  • Transform - combination of a position, rotation, and scale

Experiments

experiments/instancing

Demonstrates the use of instancing to render large numbers of objects more efficiently.

...

You can’t perform that action at this time.