Hey guys,
First post here so just want to say fantastic tool!
I've used it to create a shader that covers my needs for multiple materials within an interactive animation I am creating but I'm having problems with the opacity in that 0 is fully transparent but 1 is not fully opaque (and if I push the float past 1 I'm still not fully opaque).
Here's my shader. It's also worth noting that if I disconnect all the other nodes bar albedo, I still get the same problem.
https://imgur.com/vYFwAEk
Using ASE 1.3.1 & Unity 2017.1.1f1
If it helps (as I may have gone the wrong way about this), what I'm looking to do is be able to fade objects in and out during my animation.
Thanks for your help
edit - just realised that image can't be clicked to enlarge so I have linked a copy for readability
Opacity never fully opaque
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Opacity never fully opaque
Hello,adammarcwilliams wrote:Hey guys,
First post here so just want to say fantastic tool!
I've used it to create a shader that covers my needs for multiple materials within an interactive animation I am creating but I'm having problems with the opacity in that 0 is fully transparent but 1 is not fully opaque (and if I push the float past 1 I'm still not fully opaque).
Here's my shader. It's also worth noting that if I disconnect all the other nodes bar albedo, I still get the same problem.
https://imgur.com/vYFwAEk
Using ASE 1.3.1 & Unity 2017.1.1f1
If it helps (as I may have gone the wrong way about this), what I'm looking to do is be able to fade objects in and out during my animation.
Thanks for your help
edit - just realised that image can't be clicked to enlarge so I have linked a copy for readability
Thank you for getting in touch, we would be happy to help.
We can't seem to replicate the issue on our side, can you share a small example of 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!
-
adammarcwilliams
- Posts: 3
- Joined: Sat Oct 14, 2017 11:08 am
Re: Opacity never fully opaque
Thanks for the fast response.
I've stripped down my project to the bare essentials and packaged it up as an example for you here.
https://we.tl/kaMaPbmpBE
As you scroll around the scene you'll see the opacity issue more clearly.
All of the materials in the scene use the same transparent shader with an opacity of 1 which I've exposed as a property.
At 0 these will be invisible and at 1 they are not fully opaque and seem to change as you scroll about.
If I change the shader back to an opaque one then the scene once again renders solid.
I've stripped down my project to the bare essentials and packaged it up as an example for you here.
https://we.tl/kaMaPbmpBE
As you scroll around the scene you'll see the opacity issue more clearly.
All of the materials in the scene use the same transparent shader with an opacity of 1 which I've exposed as a property.
At 0 these will be invisible and at 1 they are not fully opaque and seem to change as you scroll about.
If I change the shader back to an opaque one then the scene once again renders solid.
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Opacity never fully opaque
Hello,adammarcwilliams wrote:Thanks for the fast response.
I've stripped down my project to the bare essentials and packaged it up as an example for you here.
https://we.tl/kaMaPbmpBE
As you scroll around the scene you'll see the opacity issue more clearly.
All of the materials in the scene use the same transparent shader with an opacity of 1 which I've exposed as a property.
At 0 these will be invisible and at 1 they are not fully opaque and seem to change as you scroll about.
If I change the shader back to an opaque one then the scene once again renders solid.
Thank you for your sample, we really appreciate it. You can mitigate the problem by making a few changes to the shader Blend Mode (check attached example). The problem is actually related to the way Unity handles transparent objects, even with the corrected shader, you might still see a few "popping issues" while moving your camera.
Alternatively, you can force object order by assigning individual shaders to each object group set to a different Queue position. e.g. 0 for the walls, 1 for the floor, 2 for the table, and so on.
Apologies for the inconvenience, I wish that there was something else that we could.
Thanks!
- Attachments
-
- DagonStandardShader.zip
- (2.02 KiB) Downloaded 339 times
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!
-
adammarcwilliams
- Posts: 3
- Joined: Sat Oct 14, 2017 11:08 am
Re: Opacity never fully opaque
Thank you very much for this. Really appreciate the fantastic support!
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Opacity never fully opaque
No problem, always happy to help. Be sure to let us know if you run into any additional issues.adammarcwilliams wrote:Thank you very much for this. Really appreciate the fantastic support!
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!