Shader difference between play mode and scene window.

Node-based Shader Editor
Post Reply
oms064
Posts: 4
Joined: Sun Nov 26, 2017 10:01 pm

Shader difference between play mode and scene window.

Post 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?
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Shader difference between play mode and scene window.

Post 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.01 KiB) Viewed 1718 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!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Post Reply