Unity shadows blink in full-screen only

698 Views Asked by At

So I have a project in unity that has hard shadows only. On my computer, everything works just fine, but when I export it to another computer (which is actually a higher end gaming computer), the shadows blink.

This error only seems to appear on their computer after it has exceeds 1600 x 900.

I have tried all of the solutions in http://answers.unity3d.com/questions/23919/terrain-flickering-due-to-real-time-shadows.html but none of these work. I have also tried baking light map, but this didn't work either.

Is there a setting I can change to make this blinking stop, or even some code I can write? None of my attempts have worked so far.


We tried turning all of the shadows but one off, and the shadows still blink.

This shouldn't be a hardware issue either, since the laptop is using a Nvidia GeForce GTX 675M, which is supposed to support shadows in Unity.


A Current temporary Solution I am implementing looks like this:

void Update ()
    {
        if (Screen.width > 1600 || Screen.height > 900)
        {
            Camera.main.renderingPath = RenderingPath.VertexLit;
        }


    }

this removes shadows after that size, but I would like to be able to use shadows anyway, so if you can find the problem, please post it.

0

There are 0 best solutions below