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.
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 objectsSceneObject
- individual object in the scene with it's own rendering information and update logicRenderableComponent
- combination of a material and meshMaterial
- combination of a shader program and a collection of uniforms and propertiesMaterialPropertyBlock
- properties supplied as input to shaders. Either a uniform or attribute dependending on the material.Mesh
- combination of a vertex and index bufferRenderer
- responsible for drawing all applicable scene objectsTransform
- combination of a position, rotation, and scale
Demonstrates the use of instancing to render large numbers of objects more efficiently.
Demonstrates a QuadTree implementation which can be used to make more efficient scene queries.
Feel free to contact me with any questions or comments using the contact information listed at: