Problems with shadows

Node-based Shader Editor
Post Reply
okoto
Posts: 9
Joined: Tue Feb 21, 2017 6:07 pm

Problems with shadows

Post by okoto »

I am currently stuck without knowing how to blend or multiply the shadow of unity in my material.
Detail: I am not using Albedo because it generates an undesirable light.
Maybe it's easy to solve by writing straight into shader but I'm pretty noob with it.
Anyone have any idea which way to go?
Attachments
Screenshot_3.png
Screenshot_3.png (193.72 KiB) Viewed 7883 times
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Problems with shadows

Post by Ricardo Teixeira »

okoto wrote:I am currently stuck without knowing how to blend or multiply the shadow of unity in my material.
Detail: I am not using Albedo because it generates an undesirable light.
Maybe it's easy to solve by writing straight into shader but I'm pretty noob with it.
Anyone have any idea which way to go?
Hello,

Thank you for using the Amplify Shader editor, we really appreciate it. Just to be sure that we are on the same page, do you want to alter the way the shadow is drawn over the floor or are you referring to self-shadowing?

For more advanced control you might need Custom Lighting support, it should be available soon.

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!
okoto
Posts: 9
Joined: Tue Feb 21, 2017 6:07 pm

Re: Problems with shadows

Post by okoto »

I would like to project the global shadow on my material. Basically if there was a function called the World Space Shadow Direction it would have to solve in a similar way to what I projected the light. But I'm not sure it works that way xD.
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Problems with shadows

Post by Ricardo Teixeira »

okoto wrote:I would like to project the global shadow on my material. Basically if there was a function called the World Space Shadow Direction it would have to solve in a similar way to what I projected the light. But I'm not sure it works that way xD.
Hello,

Thank you for the additional information, we really appreciate it. I'm not entirely sure that I understand what you mean. All shadowing is handled by Unity, including self-shadowing, and it works just as any other Standard Unity shader. Can you please elaborate? We would be happy to help based on your information.

For reference, here is a default shader with shadows enabled.

Image
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!
okoto
Posts: 9
Joined: Tue Feb 21, 2017 6:07 pm

Re: Problems with shadows

Post by okoto »

Somehow i need to get the info from where the shadow goes over my mesh turning shadow into an flat color.
Using Albedo vs Emissive as output.
Attachments
Basically i still want to get the information from the shadow but tell how it will behave in my material.
Basically i still want to get the information from the shadow but tell how it will behave in my material.
Screenshot_10.jpg (226.73 KiB) Viewed 7869 times
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Problems with shadows

Post by Ricardo Teixeira »

okoto wrote:Somehow i need to get the info from where the shadow goes over my mesh turning shadow into an flat color.
Using Albedo vs Emissive as output.
Thank you for elaborating. I don't think that it will be possible without custom lighting, it should be available soon.

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!
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Problems with shadows

Post by Ricardo Teixeira »

okoto wrote:Somehow i need to get the info from where the shadow goes over my mesh turning shadow into an flat color.
Using Albedo vs Emissive as output.
Hello,

Happy to announce that custom lighting support is now available. Be sure to check out the update post. You can download the latest version directly from our website using your Asset Store invoice number.

Amplify Products - Download

Looking forward to your feedback.

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!
Post Reply