Search the Community
Showing results for tags 'gl buffer'.
Found 1 result
Hi, I don't exactly know how the _gl.clear function works, but I would like that each frame to be redrawn ontop the former one on a transparent background. This would make each moving mesh let some kind of trace on the screen. What I did : http://www.babylonjs-playground.com/#DC40G Look at the line 4, I just set a clear color as a Color4 with an alpha value lower than 1. Now, I set the scene autoClear property to false : http://www.babylonjs-playground.com/#DC40G#1 Well, something happens, but not what I expected ... Does someone know how to achieve what I wanted then ? and could someone also explain what happened in this PG ?