webgl-framework
Basic low-level WebGL framework. (by keaukraine)
webgl-mountains
Icelandic terrain with different times of day. (by keaukraine)
Our great sponsors
webgl-framework | webgl-mountains | |
---|---|---|
2 | 2 | |
4 | 11 | |
- | - | |
0.0 | 1.4 | |
8 months ago | about 1 year ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
webgl-framework
Posts with mentions or reviews of webgl-framework.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-26.
-
Creating mountains landscape in OpenGL ES
After the terrain we draw a sky hemisphere object with the basic DiffuseShader, and then draw 11 cloud sprites. Then we draw a sun sprite. These transparent objects are rendered without writing to the depth buffer. Clouds and sun have trimmed geometries for less overdraw. You can read about this optimized sprites technique here. We decided not to use soft particles for clouds because scene size allowed us to place them so that they don’t intersect with other geometries while still partially occluding some peaks. Not using soft particles is beneficial for performance because they require additional render pass to render scene depth.
-
Rendering dunes terrain in WebGL
Historically, the web demo was created first — it was used as a prototyping playground to compose a scene and to fine-tune shaders. Also, this really helps in sharing work between a team of two people without necessity to learn Android Studio for both. And when everything was polished and looked good enough, an Android app was created quite fast based on the web demo code. Porting code to Android is a quite straightforward and easy process because our WebGL framework has the same method signatures as the framework used in Android apps.
webgl-mountains
Posts with mentions or reviews of webgl-mountains.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-01.
-
Filtering of half-float textures on different mobile GPUs
During development on PC everything was fine, but testing on different mobile phones with various GPUs revealed noticeable visual differences in hardware FP16 texture filtering. I suspect that the ANGLE wrapper for WebGL always uses full-precision floating point values in both shaders and textures, because we’ve already encountered precision issues in shader calculations during development of the Iceland WebGL demo - they were seen only on mobile devices with native WebGL-to-OpenGL ES translation.
-
Creating mountains landscape in OpenGL ES
Full source code is available on GitHub here and the live demo page is here. Click on the scene to change time of day (it may take a couple seconds to load textures), and by pressing Enter you can enter free-camera mode. Press and hold the right mouse button to look, and use WASD to move around.
What are some alternatives?
When comparing webgl-framework and webgl-mountains you can also consider the following projects:
engine - Fast and lightweight JavaScript game engine built on WebGL and glTF
fill - Generative fill in 3D.
webgl-dunes - WebGL dunes demo
webgl-reunion - WebGL Reunion demo
curtainsjs - curtains.js is a lightweight vanilla WebGL javascript library that turns HTML DOM elements into interactive textured planes.
terra - WebGL grass on a terrain