I would like to know if depth fade is supposed to work for webgl because I can't get it to work (ASE). In the editor viewport it is working, but not on the published build. Could you please provide some information about it?
Hello, thank you for getting in touch and for your support!
It should work, although when it comes to WebGL we can't guarantee that it will work in every case since you may run into version specific Browser or Unity issues, so we strongly recommend that you test your shaders on different configurations.
I've created a simple sample in Unity 2018.3.3f1 with ASE 1.6.2r4, and ran it on Chrome Version 71.0.3578.98 (Official Build) (64-bit):
Have you tested on different browsers?
If you could share a simple sample with the issue present we'd be happy to look into it on our side!
thanks for the fast reply! I can make a depthfade in a new project, but in my current one it looks more like a camera depth fade??? I am pretty sure, that it worked before (I tested it) but after building the project, it is just not working anymore. Could there be something in the project settings that I have accidentally changed with the build?
Here an image of my current scene, where it is not working (yes it is set to transparent and is in the transparent queue) it actually looks like a camera depth fade.
Thank you! Yes it was the problem with no lights in the scene. I didn't know, that Unity will deactivate this when removing all lights. All shaders in the scene are unlit, so I didn't thought about this. Thanks again!
Have you had the chance to rate and review Amplify Shader Editor? It would be awesome if you could share your experience with the Unity community, every bit helps and your feedback is extremely valuable to us.
Feel free to get back in touch if you have further issues or questions, thank you!