This project loads an image file, uses it to generate a landscape, and then lights and animates that landscape using WebGL. script.js
is heavily-commented, and is the best place to start. It also uses GLMatrix for vector and matrix math, and does not spend very much time explaining how the 3D math itself works. I recommend Web GL Fundamentals if you want to learn that part of building a 3D scene in WebGL, since it walks through both the API and the math involved. This project is meant to be a little bit lower-level, with less magic, than that tutorial is.
This is me stumbling toward a WebGL landscape renderer
License
thomaswilburn/mountain-gl
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This is me stumbling toward a WebGL landscape renderer
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published