How cool (... or nerd - ish) could it be to render all your BJS scene in a Digital Rain Fall?
If you would like it, this tutorial is made for you.
Digital Rain Post Process Scripts can be found here:
Please, first reference this script in your page:
<script src="babylon.digitalRainPostProcess.js"></script>
Then, you only need to instantiate the post process attach to your main camera to bring it to life.
// Creates the post process
var postProcess = new BABYLON.DigitalRainPostProcess("DigitalRain", camera);
The first you can do is changing the font used in the post process.
// Creates the post process
var postProcess = new BABYLON.DigitalRainPostProcess("DigitalRain", camera, "3px Monospace");
But you could also play with more parameters:
// Creates the post process
var postProcess = new BABYLON.DigitalRainPostProcess("DigitalRain", camera,
{
font: "30px Monospace",
mixToNormal: 0.5,
mixToTile: 0.5
});
The availables parameters are:
Two of them mixToNormal and mixToTile are also available at run time to allow smoothly fading from matrix to your normal scene.
// Creates the post process
var postProcess = new BABYLON.DigitalRainPostProcess("DigitalRain", camera);
// Displays the scene.
var alpha = 0;
scene.registerBeforeRender(function() {
alpha += 0.01;
postProcess.mixToNormal = Math.cos(alpha) * 0.5 + 0.5; // between 0 and 1.
});