Skip to content

Examples

Lee Stemkoski edited this page Apr 4, 2019 · 2 revisions

Current examples in the repository:

  • Directional Light
  • Point Lights
  • Surface Materials (wireframe, solid color, vertex colors, textures)
  • Transparent Cubes (transparent materials; front & back side rendering)
  • Surface Geometries
    • 2D: Quad, Circle, Ring, Polygon
    • 3D: Box, Sphere, Cylinder, Cone, Pyramid, Prism, Torus, Octahedron, Icosahedron, Tubes (around curves)
  • Helpers (Directional Light, Grid, Axes, Bounding Box, Vertex Normals)
  • Hierarchy (adding meshes to other meshes for relative positioning)
  • Point Materials (adding an image at each vertex position, with or without attenuation)
  • Line Materials (solid lines, dashed lines, vertex colors)
  • Line/Curve Geometry (helix, torus knots, polynomial knots, hilbert curves)
  • Model Geometry (loading OBJ files)
  • First Person Controls (can be attached to camera or any mesh)
  • Animated Vertices (uses custom shader)
  • Animated Textures (uses custom shader)
  • Animated Day/Night (uses custom shader)
  • Postprocessing (sepia tone and vignette effects)
  • Postprocessing (pixellation and palette reduction effects)
  • Sprites (in-scene images that always face the camera)
  • Text Images (creating images from text and font files; displaying fixed overlay text)
  • Viewports (displaying multiple renders on screen at once)
  • Particle Engine (animates particle position, color, opacity, and size)
Clone this wiki locally