Raycasting 3D render -- Blocks Edition

The #2

If you ask me this last week, I must answer “impossible”, cus these particle draw to “screen” object directly. But now, it would be “very possible”, cus I got an idea to override the “screen”. Actually, override updateScreen() method with a fake screen object, copy particle result on “screen” to that fake screen with our logic (position, scale, color fade, etc). This would cost a little of FPS, for there would be one more copy and calculating.(and a fill(0), but it’s extremely fast)
I haven’t done the feature preview/POC yet. Have a look at this, if you interesting on it.

5 Likes