PixelRasterizer -- A real-time 2D pixel grid in 3D space

PixelRasterizer is a real-time 2D pixel grid system implemented in Roblox. It creates a configurable grid of tiny “pixel” parts arranged on a plane in 3D space. Each pixel continuously casts a ray forward every frame. When a ray hits an object, the pixel becomes visible and adopts the color of the hit object; if nothing is hit, the pixel remains hidden. The result is a live, low-resolution rendering of the scene from the grid’s perspective, giving you a unique way to visualize spatial relationships, object positions, or color patterns in real time.

This tool is perfect for experimentation, debugging, or visual effects. While the current implementation runs sequentially on the main thread, it is optimized for moderate grid sizes. For larger grids, performance may be affected, but batching or Parallel Luau can be added to scale it further. PixelRasterizer is fully customizable, allowing you to adjust grid dimensions, pixel size, and ray distance to suit your project needs.

Current revision runs at ~110 fps rendering the Classic Roblox house on an Intel Core™ i5-2400

The github link below was made in Roblox-TS, it has both the TypeScript (src/server folder) and the Luau (out folder) verison

Showcase:

Github link: PixelRasterizer – make sure to read ReadMe!

8 Likes