Ugly fog

Hi.

Fog doesn’t render correctly in Unity, in any project. I open a sample scene, add fog, and I get this:

If I enable Render emulation (whatever type), it works well, but with no emulation the fog doesn’t render correctly.

I’ve a Intel’s HD 4000 with the last drivers (I tested with old drivers too), DX 11 installed and Win7 x64 as OS.

Any idea?

Thank you.

Overheating or drivers.

All drivers are up to date from their officials webs.

I ran a couple of games, 3DMark and Unigine benchmarks. All OK. And then open AngryBots, add fog, and ugly.

As you can see the GPU is fresh after all this.

How implement the fog Unity?

Thanks.

One thing: Only happens when I run Unity in DirectX 11 mode.

Any idea?

Which version of Unity are you using? If you’re using latest then please submit a bug to give us full hardware information.

https://fogbugz.unity3d.com/default.asp?548153_r7s445l0lmidcms6

Thank you.

i got same problem. fog only render correctly with vertex lit rendering path, but if i use graphic emulation it’s works fine.

Windows 7 64, Dx11, GeForce 640, latest version of unity3d.

Intel HD won’t be your friend for game development or 3D.

Unity 4.2 changelog:

DX11: Fixed some fixed function shaders (AlphaTest or projected textures), and some Fog combinations not working properly on Intel GPUs.

Downloading…

The bug has gone.