0
\$\begingroup\$

Hi so I have this tile set generated procedurally at the start of the scene. When I activate the point light in the middle of the screen I keep getting this grid in the game view, i tried changing the size of the tiles but no luck if I change them before pressing play in the game view. But if I do it at run time from the inspector the bug goes away , hiding the square of the tile that I have moved...for that tile in particular even just moving it a bit solves it. This happens in edit and game mode ,and the grid is made of loads of sprites put together. The import settings of these sprites is dont generate mip maps, no compression. And each of the tiles have the default shader sprite diffuse. I deactivated gizmos but no luck either

Any idea what can this be ? anything related with baking the light or something? thank you for your help!

enter image description here enter image description here

\$\endgroup\$
  • \$\begingroup\$ Maybe the tiles are generated too close, and they cover the edges of each other resulting in brighter areas at those intersections. Try generating the tiles a bit further apart \$\endgroup\$ – Vadim Tatarnikov Dec 20 '16 at 11:58
  • \$\begingroup\$ Good idea I'll make them a bit smaller \$\endgroup\$ – Kepol Dec 20 '16 at 12:00
  • \$\begingroup\$ I think you maybe right sorry didn't mean the make it an answer \$\endgroup\$ – Kepol Dec 20 '16 at 12:23
  • \$\begingroup\$ I would really like to know how you did that. I could use that effect in a turn-based strategy game :) No, seriously. Are these tiles planes, sprites or something else? What are the material settings of those tiles? \$\endgroup\$ – Philipp Dec 20 '16 at 12:51
  • \$\begingroup\$ Check quill tutorials, they are Quads \$\endgroup\$ – Kepol Dec 20 '16 at 13:04
1
\$\begingroup\$

The tiles are generated too close, and they cover the edges of each other resulting in brighter areas at those intersections. Try generating the tiles a bit further apart.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.