Hi. Attached is a screenshot of WIP shader for hologram models.
Sometimes I see hologram shaders that are semi-transparent but you cannot see the complexity on the other side of the model even though their faces are front-facing.
This guy (https://forum.unity.com/threads/transpa ... ts.149511/) has solved the same problem in ShaderLab code but how can I achieve this same effect using ASE?
Sorry for probably a pretty basic question.
Hologram Shader and how to hide faces behind
Hologram Shader and how to hide faces behind
- Attachments
-
- FighterShaderTest.png (70.63 KiB) Viewed 6361 times
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Hologram Shader and how to hide faces behind
Hello,Tiddan wrote:Hi. Attached is a screenshot of WIP shader for hologram models.
Sometimes I see hologram shaders that are semi-transparent but you cannot see the complexity on the other side of the model even though their faces are front-facing.
This guy (https://forum.unity.com/threads/transpa ... ts.149511/) has solved the same problem in ShaderLab code but how can I achieve this same effect using ASE?
Sorry for probably a pretty basic question.
Thank you for getting in touch, we would be happy to help. The overlapping transparency result is expected, you will have to add additional code in order to mitigate the problem. Having a shader that fills in the depth buffer before rendering transparency might be enough to resolve the issue.
Try adding the following after "SubShader {"
Pass {
ZWrite On
ColorMask 0
}
Unfortunately, ASE currently does not offer you any options to create multi-pass shaders, you will have to alter the actual generated file. Please keep in mind that any code changes made to the shader file will be discarded when saving the shader in ASE.
Apologies for the inconvenience.
Sales & 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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Re: Hologram Shader and how to hide faces behind
No problem, happy to help. Indeed, it's a troublesome limitation given the way shaders are generated. In any case, it should be possible to do this kind of effects with ASE in upcoming versions, we are working on a viable solution.Thanks Ricardo for your response.
So are there any plans to support multiple passes in ASE in the future? It seems like all similar editors have this limitation. I must admit I hate these kind of workarounds where you have to remember to edit the autogenerated code - but in this case I would miss the benefits from ASE too much to stop using it
Hope you work out a solution for this in the future.
Thanks!
Re: Hologram Shader and how to hide faces behind
Hi again Ricardo.
Is there any development on this issue resolved in newest version? It would be awesome to avoid altering the produced script all the time. If making this effect is possible without using multiple passes it would be even better!
Is there any development on this issue resolved in newest version? It would be awesome to avoid altering the produced script all the time. If making this effect is possible without using multiple passes it would be even better!
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Hologram Shader and how to hide faces behind
Hello,Tiddan wrote:Hi again Ricardo.
Is there any development on this issue resolved in newest version? It would be awesome to avoid altering the produced script all the time. If making this effect is possible without using multiple passes it would be even better!
Apologies for the lack of updates in regards to that specific request, we have been a bit overloaded lately.
Not so much an issue, it's really the lack of multi-pass support that's preventing you from creating that specific effect. Keep an eye out for updates, multi-pass support is not far off. Unfortunately, Unity has specific transparency related issues that prevent us from offering a possible workaround for the problem.
Thanks!
Sales & 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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Re: Hologram Shader and how to hide faces behind
Very sad to see this hasn't been fixed yet. It seems very convoluted. In Shader Forge, it's just one button press(select additive). Will be going back to SF for the foreseeable future....
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Hologram Shader and how to hide faces behind
Hello, thank you for getting in touch!
Since the last post on this topic, ASE has been through a considerable amount of updates, including the addition of new parameters such as the 'Extra Depth Pass', which should help achieve effects such as this one without having to manually edit the shader code:


Please let us know if this helps, we take all feedback to heart and it has been pivotal in the development of ASE.
Since the last post on this topic, ASE has been through a considerable amount of updates, including the addition of new parameters such as the 'Extra Depth Pass', which should help achieve effects such as this one without having to manually edit the shader code:


Please let us know if this helps, we take all feedback to heart and it has been pivotal in the development of ASE.
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!