No description
  • C 55.7%
  • Makefile 42.9%
  • CMake 1.4%
Find a file
2026-01-29 15:52:18 -03:00
blend bad constant alpha 2025-12-16 15:08:24 -03:00
constant-alpha bad constant alpha 2025-12-16 15:08:24 -03:00
copy-to-texture add more depth formats 2026-01-29 15:52:18 -03:00
indirect indirect texture demo 2025-11-24 23:29:42 -03:00
light first commit 2025-11-24 21:31:04 -03:00
light-diffuse first commit 2025-11-24 21:31:04 -03:00
light-specular first commit 2025-11-24 21:31:04 -03:00
light-spotlight first commit 2025-11-24 21:31:04 -03:00
pad first commit 2025-11-24 21:31:04 -03:00
texgen-post-transform texgen post transform 2025-11-25 15:36:08 -03:00
.gitignore add readme 2025-11-24 21:37:52 -03:00
Makefile first commit 2025-11-24 21:31:04 -03:00
README.md bad constant alpha 2025-12-16 15:08:24 -03:00

GameCube demos

These are some GameCube demos I quickly hacked together to test specific features. Uses libogc and is heavily based on the gamecube examples repo.

Demo list

For a more detailed understanding of what each demo does, you should read the source.

  • pad: Prints controller state to the console.
  • light: A rotating cube with a diffuse light rotating around it.
  • light-diffuse: A rotating teapot with a diffuse light rotating around it.
  • light-specular: A rotating teapot with a specular light rotating around it. Teapot looks shiny.
  • light-spotlight: A rotating teapot with three spotlights (red, green and blue) rotating around it.
  • blend: Two quads moving around the screen. Pressing buttons on the controller changes either the blending mode, the blending factors or the background color of the scene.
  • indirect: Simplest indirect texture stage usage.
  • texgen-post-transform: Simple texgen post transformation matrix usage.
  • copy-to-texture: Rotating cube which displays another rotating cube on it's faces. First it renders the inner rotating cube to a texture, then draws the outer cube using the texture on it's faces.
  • constant-alpha: Weird demo using constant alpha.