A simple three.js demo scene where a lightmap that was generated in Blender using the addon The Lightmapper is tested. Ground reflections were made possible through box-projecting an env-map. The env-map was also generated in Blender. The scene and the textures were compressed using gltfpack and basisu. All textures are in KTX2 format.
View the Online Demo
Download size: 4.7 MB
Uncompressed Demo
Download size: 37 MB
Template:
- three.js GLTF scene template by Gabriel Ramirez
Collision:
- Octree collision checking by supereggbert
Shaders:
- Box-projecting env-map shader code by codercat
Meshes:
- Map mesh by Naxela
Audio:
- Lamp hum audio by kyles
- Rainbow shades picture room synthony by Lemoncreme
- Purple shades picture room synthony by ShadyDave
Images:
- Rainbow shades picture by Steve Johnson