Skip to main content
added 338 characters in body
Source Link

I created block of 3x3x3 cubes, disabled shadows, set directional lighting color to white and ambient to black. And I'm getting this:

[![Unity lighting problem][1]][1]Unity lighting problem

Any idea what is going on and how to fix it? Effect is visible when object isn't moving but with a lot less artifacts. It doesn't matter what is moving, camera or cubes. I would guess that this is precision problem but is there anything that can be done about it? [1]

//EDIT

Here is a screenshot of cubes: enter image description here

Also this is how it looks after static batching https://i.sstatic.net/xBUtB.gif(this happens because of Lightmap Static in Mesh Renderer is on):

enter image description here

I created block of 3x3x3 cubes, disabled shadows, set directional lighting color to white and ambient to black. And I'm getting this:

[![Unity lighting problem][1]][1]

Any idea what is going on and how to fix it? Effect is visible when object isn't moving but with a lot less artifacts. It doesn't matter what is moving, camera or cubes. I would guess that this is precision problem but is there anything that can be done about it? [1]: https://i.sstatic.net/xBUtB.gif

I created block of 3x3x3 cubes, disabled shadows, set directional lighting color to white and ambient to black. And I'm getting this:

Unity lighting problem

Any idea what is going on and how to fix it? Effect is visible when object isn't moving but with a lot less artifacts. It doesn't matter what is moving, camera or cubes. I would guess that this is precision problem but is there anything that can be done about it?

//EDIT

Here is a screenshot of cubes: enter image description here

Also this is how it looks after static batching (this happens because of Lightmap Static in Mesh Renderer is on):

enter image description here

Source Link

Artifacts in unity shading

I created block of 3x3x3 cubes, disabled shadows, set directional lighting color to white and ambient to black. And I'm getting this:

[![Unity lighting problem][1]][1]

Any idea what is going on and how to fix it? Effect is visible when object isn't moving but with a lot less artifacts. It doesn't matter what is moving, camera or cubes. I would guess that this is precision problem but is there anything that can be done about it? [1]: https://i.sstatic.net/xBUtB.gif