Search found 3 matches

by cyuxi
Sat Jan 05, 2019 7:22 am
Forum: Amplify Shader Editor
Topic: Dose Depth Fade node only work with light that has shadow on
Replies: 5
Views: 4699

Re: Dose Depth Fade node only work with light that has shado

Hello, this behavior is expected since the shadow casting pass is not being called due to the lack of light / shadows.

There is a workaround to this, which involves forcing the camera to generate a depth texture in order to access values from the depth buffer on an unlit scene.

You can add the ...
by cyuxi
Fri Dec 28, 2018 8:26 am
Forum: Amplify Shader Editor
Topic: Dose Depth Fade node only work with light that has shadow on
Replies: 5
Views: 4699

Re: Dose Depth Fade node only work with light that has shado

Greetings,

Is that a single cloud object?

Thanks!

Hi,
The cloud is a mesh.( I split a mesh into four in order to share the texture map which has four shapes of cloud.)
I'm currently using the Unity 2017.2.0f3.
I have attached the screenshot and the test scene. Please have a look.

I'm looking ...
by cyuxi
Wed Dec 26, 2018 8:32 am
Forum: Amplify Shader Editor
Topic: Dose Depth Fade node only work with light that has shadow on
Replies: 5
Views: 4699

Dose Depth Fade node only work with light that has shadow on

Hi,
I was trying to make a depth fade effect to smooth out the intersection of clouds and scene objects, however getting stuck with few problems.

It seems the Depth Fade Node cannot work properly if I don't put a light(with shadow on) in the scene.

If shadow on the light is turned on and the scene ...