scene.clearColor wrongly set

When setting the expected color4 of scene.clearColor with a wrong value, this can lead to a fun weird warp effect : https://www.babylonjs-playground.com/#2FPT1A#275

I know this will be fixed as a bug. But, in the meantime, I like it as a feature :slight_smile:

3 Likes

Please keep!

This is like fullscreen mario’s acid mod.

http://www.uta.edu/utari/acs/ASL_site/Homepage/Misc/Mario/index.html
sorry for the framerate
good%20mario%20gif

Ahah that’s so cool :crazy_face:

For those wondering the correct line is:

scene.clearColor = BABYLON.Color3.White();

thanks
The same scene with the same effect (scene.autoClear = false) and the correct color : https://www.babylonjs-playground.com/#2FPT1A#276

so not a real bug actually, just a wrong use from me :wink:

1 Like