WebGL Experiments

WebGL, Javascript, three.js

WeblGL experiments

Modify default shaders from three.js

Example showing a proof of concept implementation on how to modify the shaders from the default materials by injection pieces of code into them.

This the #1 from a daily piece of code experiment

Webgl experiment

Buffergeometry drawcalls example

Example showing how to use drawcalls to dynamically modify the number of lines to draw.

Webgl experiment

Postprocessing effect: crossfade

Crossfade effect used to create a smooth transition between two scenes.

Webgl experiment


My very first experiment with an early version of three.js back in the 2010, in fact this example it’s using the canvas renderer as webgl wasn’t widely available. You can check the post I wrote about it.

Webgl experiment