u/Accomplished-Arm1761

Strange white pixels in game / scene preview

Hello everyone!

I’m currently working on a game that generates a procedural dungeon (DunGen). While creating the different rooms that I want to connect together, I noticed during testing that you can clearly see some kind of white pixels between the wall / floor / ceiling tiles, and I don’t know how to fix this. (NB: We make 3m x 3m tiles of walls, floors, ceiling)

It doesn’t seem to be bleeding, since each element’s texture includes a sufficiently large padding to avoid bleeding.

I tried making the walls with some thickness, and while that fixes the issue on straight lines, I still get the problem at corners and between wall > floor and ceiling > wall transitions.

I also tried stretching the tiles horizontally and vertically everywhere, but that obviously creates z-fighting, so that’s not a good solution either. And anyway, looking at a game like Repo, I can see they use the same method as I do (wall planes) and they don’t seem to have this issue.

I’m guessing it might be the skybox or the lighting causing those white pixels, but I have no idea how to properly fix the problem.

If you need any additional details, feel free to ask; I’m just getting started with Unity!

https://reddit.com/link/1t7e8d0/video/4n9font15yzg1/player

reddit.com
u/Accomplished-Arm1761 — 6 days ago