Skip to content

JavasScript game developed using a 3D renderer built from scratch

License

Notifications You must be signed in to change notification settings

tedgag/AlphacraftJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

AlphacraftJS

Simple Galaga-style 3D game developed using a 3D rendering engine built from scratch in JavaScript.

Most of the main features of the renderer were built following Gabriel Gambetta's "Computer Graphics from scratch" and the rest was implemented after some quick research on the internet. The goal of this project was mostly to understand how 3D libraries such as OpenGL work behind the scene to solidify my base knowledge in computer graphics.

This renderer features:

  • Rasterization
  • Perspective projection
  • Shading (Phong)
  • Point, directional and ambient lighting
  • Hierarchical modeling
  • Hidden surface removal (Per-triangle model cliping and depth buffering)
  • Texture mapping

Sound Effects : https://freesound.org/people/LittleRobotSoundFactory/ Textures: http://www.custommapmakers.org/viewtopic.php?t=623 https://www.pngwing.com/en/free-png-bpbql

About

JavasScript game developed using a 3D renderer built from scratch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published