You can use a jit.gl.gridshape @shape cube or opencube, resize it to the size of your jit.phys.world, and then apply the material to it.
You may also want to move the light source inside the cube (which I didn’t in this patch).
— Pasted Max Patch, click to expand. —
Copy all of the following text. Then, in Max, select New From Clipboard.