Open dragoncoder047 opened 1 month ago
Also, it doesn't obey area scales
This is because it is a voxel raycaster, it traces rays along the voxels of the level (the grid) and looks only at grid tiles which are hit. This example is set up to render some tiles as solid. These tiles lie on the grid, it doesn't matter where the sprite is. It doesn't look at the sprite. The raycaster only sees solid tiles and areas, not sprites.
add to mazeRaycastedLight example
and the raycasted light bubble will be in the wrong spots