Expanding a vertex shader by allowing us to Clamp the distance of the vertices to a fixed distance. This effectively allows us to limit the model to a “sphere” or part of a sphere if we reduce the limit far enough.
Java 8 brought a number of new features to Java, one of those features was the Streams API. This API brought an easy way to create functional style list manipulation elements using a simple API.
Time for something a bit different. In this video we’ll delve into WebGL using a tool called ShaderToy, a great way to learn and experiment with shaders all from inside your web browser!
Lets improve our Voxel Terrain! Specifically, let’s start work on a shader that can shade our terrain. Our terrain uses each color channel from the vertices of our voxel mesh to designate a different material.
Reactive Extensions use asynchronous observable streams to control your program. That sounds complicated, and it is, but the possibilities this style of programming unlock are fantastic.