When I bake lights with a cutout shader, the GI calculations ignore the alpha info. This works fine with Unity Standard shader, but I don't know which flag to set in ASE. You can see an example in the screenshot. The King of Hearts card is using Unity Standard Cutout shader.
Thanks for any help you can provide.
Global illumination with cutouts
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Global illumination with cutouts
Hello,JohnnyFactor wrote:When I bake lights with a cutout shader, the GI calculations ignore the alpha info. This works fine with Unity Standard shader, but I don't know which flag to set in ASE. You can see an example in the screenshot. The King of Hearts card is using Unity Standard Cutout shader.
Thanks for any help you can provide.
Thank you for getting in touch, we would be happy to help.
Can you share a sample of the shader used?
Which Unity version are you using?
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!
-
- Posts: 9
- Joined: Thu Aug 16, 2018 2:43 pm
Re: Global illumination with cutouts
Unity 2018.2.7.
Attached is the shader file for the Ace of Hearts card and the associated texture, in a zip file.
Attached is the shader file for the Ace of Hearts card and the associated texture, in a zip file.
- Attachments
-
- Archive.zip
- (31.26 KiB) Downloaded 255 times
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Global illumination with cutouts
Thanks for the sample!JohnnyFactor wrote:Unity 2018.2.7.
Attached is the shader file for the Ace of Hearts card and the associated texture, in a zip file.
You'll have to rename your Albedo do Texture Sample node to MainTex, this resolved the issue in your sample.
Apologies for the inconvenience, this is actually a Unity limitation/requirement.
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!
-
- Posts: 9
- Joined: Thu Aug 16, 2018 2:43 pm
Re: Global illumination with cutouts
That's great, thank you for sorting this out.
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Global illumination with cutouts
Happy to help!
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!