Closed ninlilizi closed 3 years ago
Found the problem. Encase anyone else runs into this.
You apparently need to explicitly include a Unity Internal shader called 'Hidden/Internal-CombineDepthNormals' in your build
I'll save SlightlyMad the trouble and close this ticket myself.
I've done some investigation. Shaders have been explicitly included in the build. The problem exists in Unity 5.5 as well as newer version. Tested multiple Unity versions upto 2018, starting at 5.5 The problem only occurs in standalone builds and not in the editor. The problem seems to be the RayMarch function in VolumetricLight.shader returns black with alpha set to 1 for the entire screen.