Often, when people ask about how to prevent light leaking, the common answer is that your walls must be at least 4 studs thick, as voxels in Roblox are placed on a 4x4x4 grid.
This does not actually stop light leaking; you instead need your walls to be at least 6 studs (just over 1 voxel) thick. See below; on the left is 4 thick walls, and on the right is 6 thick walls (note that this is using Voxel):
I’m pretty sure (although haven’t tested this specifically) that it may also depend on the position of the walls in relation to the voxel grid.
If you move them smoothly, you should notice the shadow/unlit areas more or less snap from voxel to voxel.
Yup! In some cases you can almost get away with 5 studs if you manipulate it finely - but from my testing 6 is the minimum to work reliably everywhere.
Pretty sure the answer is no, but perhaps you can extend the union’s bounding box (while having the main shape look like it’s supposed to). Maybe it could trick the union into having a larger shadow.
This is nice to know, but that’d also make for some ridiculously large walls for those who build in a realistic fashion. Roblox should be able to fix this where regardless of brick size, the the corners are closed off, no light should see through.
It’s sad we gotta go this far for the proper result!
Yeah it was and it’s active in Voxel (& ShadowMap) mode - you can test it yourself on Crossroads!
Unfortunately, it doesn’t fully solve leaking through corners.
I suspect that with the wedge trick you can actually make the walls/ceilings pretty thin with Voxel but the wedge will still have to be pretty large, even larger perhaps to compensate for thin walls.
edit actually the trampoline in Crossroads most likely will not correctly show the effect because in the video the voxels were 1^3 and we still use 4^3, but you can see it on thin objects that are further away from the receiver.
Is this still an issue or has it been fixed? I’m currently in the process of writing a Building Procedure and would like to include only truthful information.
Its simply not applicable to a lot of builds. For example if you’re making a house with an interior, the walls have to be thin. You cant just extend them to fix the lighting cause it will mess up the visuals of the build and the size.