Built-in assets and textures

CGA supports a number of built-in assets and textures which are always available:

Geometry assets

All geometries have vertex normals and texture coordinates on the first texture layer (COLORMAP).

Textures

  • builtin:default - a shiny 16x16 black and white checkerboard.
  • builtin:uvtest.png - our standard test texture.

Examples

Init-->
	primitiveCube()
	texture("builtin:default")
Primitive cube with built-in texture
Init-->
	primitiveCube()
	texture("builtin:uvtest.png")
Primitive cube with test texture