My English is not good, the following texts are all translated by Google.
I encountered a problem when creating alpha Blend mode with Amplify Shader Editor.
This is a circular model
From different perspectives, get different renderings
I have inquired about the relevant information.
————————————————————————————
The effect of the above picture is not the effect I want.
The effect of the picture below is what I want.
Although I found a solution from the book, I can’t use it in the Amplify Shader Editor with my current ability.
The following is the solution
As wyvery boi said, you always can edit with the text editor you are using (Notepad, monoDevelop, visualStudio…)
But if you want to mess with ZTest in Amplify, open the “Depth” tab:
(Thats your shader untouched, well touched the ZTest like on the gif xD)
By other way, i didnt understood what was the problem with the first images, but if the problem is the different colors, you already done some corrections for it to be same
(Note that in this gif you can see how the “invisble” parts of the mesh are in front because of the ZTest)
Perhaps amplify is better then I think, but for as far as I know amplify cannot solve this problem.
The problem you’re facing, is that transparent rendering has no way to know what pixel of an object is closer to an object then other pixels of that same object.
The solution you found uses two passes to (I believe) first render the depth values like a solid object after which it renders the object transparently into the back buffer using those earlier values to figure out which ones are in the front.
Unless Amplify has this solution pre-programmed, or if they allow the use of multiple passes, it will be impossible to implement this exact solution.
As you said amplify cannot solve this problem.
amplify Looks like no way two passes.
I should not think that amplify can solve all problems,Thank you very much ,And others。
is the extra Depth pass able to get the: ColorMask 0?
ColorMask
ColorMask RGB | A | 0 | any combination of R, G, B, A
Set color channel writing mask. Writing ColorMask 0 turns off rendering to all color channels. Default mode is writing to all channels (RGBA), but for some special effects you might want to leave certain channels unmodified, or disable color writes completely.