I turned fog on in the rendering settings on my scene. It works great by checking it in the Unity editor, but after opening the game after the build, the fog disappears. I am not sure, but according to some sources on the Internet, I found that Unity3d has problems working with Windows 8.1. Is there any way to fix this?
I just had this problem, it is incredibly annoying. What worked for me concerned the Graphics settings and changing the “Shader Stripping” fog modes in manual mode. I hope this helps someone else in the future.
. Edit, Project Settings, Graphics, Shader stripping, Fog modes: Manual. , Ubuntu Unity 5.4.1f1 . , .
: void Start() { RenderSettings.fogColor = Camera.main.backgroundColor; RenderSettings.fogDensity = 0.03f; RenderSettings.fog = true; }
Source: https://habr.com/ru/post/1539753/More articles:VB.NET equivalent of an initializer of a C # object of anonymous type - initializationPerformance Tuning Libraries and Java 8 Stream Libraries - javaFailed to call - iosHow to access PHP environment variables in bash script? - linuxHow to calculate the position of the representation space from the position of the screen-space without matrix multiplication - shaderEmber Route stuck after error loading model - javascriptIs there a way to build a pandas series in ggplot? - pythonCompare file system space usage over time - linuxThe structure of the object, where the condition is c #AngularUI datepicker-popup - manually entered date and min / max dates - angularjsAll Articles