Stars & Earth
Swipe to View
Swipe to view stars with rotating Earth. This streamlined WebGL project should run well even on low end mobile devices.
The space scene with Earth and background stars helps developers with simpler code, especially simpler rendering. Additionally GPUs usually run more efficiently with fewer large VBOS, rather than many small VBOs.
This project loads just one texture and one vertex buffer object (VBO). The background texture includes room for more planets, or other sprites, as well. During rendering there's no need to switch VBOs or texture units with this effective, simple, WebGL technique.
This scene's part of the upcoming book,
part of the series,