Voxel lighting – 0 FPS
Been a long time since I’ve written anything here. Lately I’ve been working on a new multiplayer WebGL voxel engine for codemao (an educational platform to teach kids programming via games). It’s not live yet, but a bunch of neat ideas have come out of this project. In this post I want to talk about the lighting model and share some of the tricks which were used to speed up processing. Conceptually the basic lighting system is similar to the one used in Minecraft and Seed of Andromeda with a few small tweaks. For background information, I would recommend the following sources: This post describes some extensions and optimizations to the basic flood fill lighting model proposed by Ben Arnold. In particular, we show how to adapt ambient occlusion to track a moving sun, and how to improve flood fill performance using word-level parallelism bit tricks. Flood fill lighting is an approximation of ambient occlusion where lighting values are propagated using a breadth-first search along t
Been a long time since I’ve written anything here. Lately I’ve been working on a new multiplayer WebGL voxel engine for codemao (an educational platform to teach kids programming via games). It’s not live yet, but a bunch of neat ideas have come out of this project. In this post I want to talk about the lighting model and share some of the tricks which were used to speed up processing. Conceptually the basic lighting system is similar to the one used in Minecraft and Seed of Andromeda with a few small tweaks. For background information, I would recommend the following sources
Explore this link on the map →related reading
- SoA - Fast Flood Fill Lighting in a Blocky Voxel Game: Pt 2web.archive.org
- Lights and Shadows – Bartosz Ciechanowskiciechanow.ski
- An Analysis of Minecraft-like Engines – 0 FPS0fps.net
- Creating Daylight | The Shadows | Blogbasement.studio
- On Rendering the Sky, Sunsets, and Planets - The Blog of Maxime Heckelblog.maximeheckel.com
- Soccer Mommy's Evergreen Road Tripsoccermommyband.com
- Meshing in a Minecraft Game – 0 FPS0fps.net
- LEAP 71 | PicoGK.org Blogpicogk.org
- The Book of Shaders: Fractal Brownian Motionthebookofshaders.com
- Light field - Wikipediaen.wikipedia.org
- Ray Tracing in One Weekendraytracing.github.io
- Ontology Lookup Service (OLS)ebi.ac.uk