Animatable attributes

This example shows that any attribute is animatable. It also shows how object picking can be done. The object under the mouse cursor is highlighed in red by setting the incandescence shader attribute. Look into the documented source with your browser to see how it is done. Note: Indicate in the export options that incandescence is settable from JavaScript either by setting 'Interface Nodes' to 'All' or to 'List of Nodes' (for this example the 'List of Nodes' would be 'phong1,phong2,phong3,phong4,lambert1'). Also check 'Add Pick Layer'.


Normal mapping

Tangent space normal mapping.


Anisotropic shader

Anisotropic shaders can look like brushed metal. In this example the direction of anisotropy is varied by pixel in circular patterns.



Multiple light sources of different types can be in a scene. This is forward rendering with its advantages and disadvantages. Deferred rendering could be supported in the future.


Character animation

This is a free sample character from the content libraries offered by Rocket Box Studios.


User interaction

Bend the saussage with your mouse and mouse wheel. Click to change color. Look into the source to see how easy you can control maya attributes from javascript!


Particle instancer

A mesh (or scene graph) can be instanced with a particle system. This means that the mesh is rendered once per particle. The particle system also can control rotation and scale of the instanced mesh. Note that you need one render job for each particle, therefore we do createRenderer(505) for this example. If there are too few render jobs the scene will be flickering.