I can’t seem to figure out how to tag the original authors of the pxt-raycasting and original floor rendering code, so while I figure out how to tag users, here’s the updated extension now with ceiling rendering (and MrFranko’s floor rendering) forked from AqeeAqee’s raycasting extension :
The project in the gif above can be achieved by simply using code from the ‘3d Render’ section like this image:
Note: the ceiling tilemap must match the width and height of the tilemap that is currently loaded or it will throw an error.