When I open the profiler I see that the Global Illumination process is chugging away despite me not having any global illumination enabled anywhere. How do I disable it?.
3 Answers
3Open the Lighting window (Window > Lighting) and disable whatever you don’t need. Some thing like Prebaked Realtime Global Illumination are enabled by default, but can be disabled there.
Yeah I've done that, but when I open up the profiler the global illumination process is still active. I've since sent a bug report but I suspect they won't see it as a bug.
– Unified2000Yeah I’ve done that, but when I open up the profiler the global illumination process is still active. I’ve since sent a bug report but I suspect they won’t see it as a bug.
I don’t think it can be disabled, it’s required to manage the shader system.
What you can do is change the color of it.
In the Lighting window, if you don’t have a global Skybox, a color selection will be displayed and you can set the global illumination with it.
(Black = no light, White = light from every side)
It was already set to black. I even tried avoiding the use of the Standard shader and just using the legacy shaders instead. That didn't help. Although it did lead me to finding out that the legacy shaders are bugged in Unity 2018. But that's another story... :)
– Unified2000
Yes it is in first person, and with the new script im having the same problem, but instead of snapping to 0 rotation, it smoothly transitions to it.
– PersonMonMy bad, the code you provided does actually work, the problem was my fault. I got an error that v was undefined so i put in float v = 0; but i accidentally put that in Update. I moved it to the beginning and it works fine now. Thank you!
– PersonMon