I almost had a brain meltdown porting this into B4x...
So far it appear to work as expected... Give it a try.
Controls:
[Left-Click] Draw blocks
[Right-Click] Activate raycasting
[Right-Drag] Move light source
Note: Casting from inside a block looks broken, but it's an intentional speed-up.
So far it appear to work as expected... Give it a try.
Controls:
[Left-Click] Draw blocks
[Right-Click] Activate raycasting
[Right-Drag] Move light source
Note: Casting from inside a block looks broken, but it's an intentional speed-up.