Page 1 of 1

Shader difference between play mode and scene window.

PostPosted: Fri Jan 26, 2018 6:53 am
by oms064
Hello!
I am trying to create a fog shader.
In the scene windows it looks like this which is more or less the intended effect. I have some errors with the cubes on the background, maybe I'm using the Screen Depth incorrectly.
Image

But in the game view it looks like this.
Image

Here is my graph.
Image

I don't know why this happens, if I only use the albedo input there is no error.
Is there something I am missing?

Re: Shader difference between play mode and scene window.

PostPosted: Fri Jan 26, 2018 11:15 am
by Amplify_Borba
Hello oms064, thank you for getting in touch!

Using your node setup, I've replicated the shader with the default Remap node value, the Blend Mode set to Transparent, and there seems to be no issue present in the game view, as per the screenshot below.

ShaderTest.jpg
ShaderTest.jpg (105.32 KiB) Viewed 1125 times


Could you provide us with your shader sample or at lease the values used for the Remap and Output nodes?

Also, which Unity and ASE versions are you using?
Be sure to download the latest build, available in our website.

Looking forward to your reply!