# Raycasting 3D render -- Blocks Edition

**URL:** https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921
**Category:** Game Design
**Tags:** graphics-and-math, extension, game
**Created:** [April 1, 2022, 6:23pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921 "2022-04-01T18:23:28Z")
**Posts on this page:** 1
**Showing post:** 128

<div class="post-metadata">

### Author: ![kwx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kwx/32/1545_2.png) [@kwx](https://forum.makecode.com/u/kwx)
#### Post date: [October 24, 2022, 9:37pm UTC](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/128 "2022-10-24T21:37:59Z")

</div>

> [@MrFranko](#):
>
> floor only for simulator or raspberry pi

In case it helps, I got a floor texture working with reasonable performance on hardware [as part of the MakeCode Kart project](https://forum.makecode.com/t/makecode-kart/5787/166). @Kiwiphoenix364 has extended this to work with tilemaps, see for example [MakeCode Kart - #271 by Kiwiphoenix364](https://forum.makecode.com/t/makecode-kart/5787/271) .

It may need a two-step render pass to integrate this since efficient rendering of the floor texture required drawing horizontal lines (with constant Z distance), while I think the raycasting renderer prefers drawing vertical columns.

---

_[View the full topic](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921)._
