o
odin.langpkg.dev
packages / library / skyshade-odin

skyshade-odin

7676449library

An exploratory project — 3D graphics in Odin with Raylib and hand-written GLSL shaders. Skybox, Blinn-Phong lighting, textured objects.

No license · updated 4 weeks ago

skyshade-odin

An exploratory project — 3D graphics in Odin with Raylib and hand-written GLSL shaders. Skybox, Blinn-Phong lighting, textured objects.

screenshot

Features

  • Skybox — cubemap from 6 textures, custom shader with samplerCube
  • Floor — 10×10 plane with texture, Blinn-Phong lighting
  • Orange — textured sphere, Blinn-Phong lighting
  • Camera — FREE mode (WASD + mouse), fly around the scene
  • Point light — position (3, 5, 3), warm color, ambient + diffuse + specular
  • Grid — helper 10×10 grid

Requirements

  • Odin — the Odin compiler
  • Raylib 5+ — vendor bindings built into Odin (vendor:raylib)

Running

git clone https://github.com/your-user/skyshade-odin.git
cd skyshade-odin
odin run .