Search found 4 matches

by danieleve
Tue Jan 16, 2018 12:47 pm
Forum: Amplify Shader Editor
Topic: Weird Z-Buffer issue
Replies: 6
Views: 6346

Re: Weird Z-Buffer issue

I've read a post on the Unity about transparent objects and Z-Buffer (that I should use to put them into the volume fog), that say:
For volume fog... objects do not need to write to the Z-Buffer, but rather the camera depth texture. Only objects that are in the opaque queues (0~2499) and have a ...
by danieleve
Mon Jan 15, 2018 4:40 pm
Forum: Amplify Shader Editor
Topic: Weird Z-Buffer issue
Replies: 6
Views: 6346

Re: Weird Z-Buffer issue

Thanks again Amplify_Borba,
I really hope you can find a workaround for this.
Just, talking about shadows, please note how the Z-Buffer change with "Cast Shadows / Receive Shadows" options of the shader are ON or OFF, despite the fact that the light in the scene has Shadows turned off.

http ...
by danieleve
Mon Jan 15, 2018 1:24 pm
Forum: Amplify Shader Editor
Topic: Weird Z-Buffer issue
Replies: 6
Views: 6346

Re: Weird Z-Buffer issue

Thank-you Amplify_Borba,
if I don't use "Alpha to Coverage" the Z-Buffer don't change (it's ditered in the same way), furthermore there are problems with the transparency, as you can see in this picture (altough the gradient look much better):
(P.s. If the Z-depth seem to be better is just because ...
by danieleve
Mon Jan 15, 2018 11:05 am
Forum: Amplify Shader Editor
Topic: Weird Z-Buffer issue
Replies: 6
Views: 6346

Weird Z-Buffer issue

Hello!
I'm new to Amplify Shader Editor, and with this tool I'm trying to make a transparent shader that write into the Z-Buffer (that is not possible with standard Unity shaders).
I did a test with a simple radial gradient texture, using "Alpha Test" for Render Queue (because with Render Queue set ...