Hello Amplify-team!:)
Trying to explore with Custom Lighting I needed to lighten the shadow side. In the preview-node displays everything as it should, and on the stage it lightens the whole model
I have a shader, which I am guided by and its functionality must be repeated using the nodes, but it is difficult for me to understand its principle as text
Maybe tell me what I'm doing wrong?
Video https://youtu.be/Kns8gCjfn_U
Custom Lighting shadow side + Add
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Custom Lighting shadow side + Add
Hello! I'm afraid I'm not entirely understanding the effect you're going for, do you want the slider to only affect the shadowed area?
The Add node is working as expected in the way it's set up, and it should also be noted that the previews just a reference of the data that is processed and outputs from each node, it might not reflect the final result of the shader itself since other parameters might be taken into account.
I've also noticed that you've also changed the node network without compiling the shader, if you don't compile the shader after editing it, most changes won't be seen in the scene and game views, despite of what might be show in the preview.
Could you share the reference shader so I can examine how it behaves since it wasn't apparent from the images nor video?
The Add node is working as expected in the way it's set up, and it should also be noted that the previews just a reference of the data that is processed and outputs from each node, it might not reflect the final result of the shader itself since other parameters might be taken into account.
I've also noticed that you've also changed the node network without compiling the shader, if you don't compile the shader after editing it, most changes won't be seen in the scene and game views, despite of what might be show in the preview.
Could you share the reference shader so I can examine how it behaves since it wasn't apparent from the images nor video?
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: Custom Lighting shadow side + Add
Thanks for answer
Yes, only shadowed area
Sure:)
My shader https://drive.google.com/file/d/1kcf5Vr ... sp=sharing
Reference https://drive.google.com/file/d/1YDyqg2 ... sp=sharing
Yes, only shadowed area
Sure:)
My shader https://drive.google.com/file/d/1kcf5Vr ... sp=sharing
Reference https://drive.google.com/file/d/1YDyqg2 ... sp=sharing
Last edited by Ozhogi on Sat Oct 20, 2018 10:07 pm, edited 1 time in total.
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Custom Lighting shadow side + Add
Upon testing your shader and the reference shader, the results seem to be pretty similar:

Are you using the latest ASE version from our website?
I'm also sending the test scene and materials used in the gif shared above:
The Brightness Correction sliders on both materials seem to only affect the shadow area and effectively brighten it up, is this the expected behavior?

Are you using the latest ASE version from our website?
I'm also sending the test scene and materials used in the gif shared above:
The Brightness Correction sliders on both materials seem to only affect the shadow area and effectively brighten it up, is this the expected behavior?
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: Custom Lighting shadow side + Add
Hello Borba
Your test is not entirely correct.
1. You use white color, that is, to check the functioning of the Add node this does not work out that way, I have a problem with it
2. I found that it was mixed in with white: it seemed to separate the light from the point light and the directional light. I understand that I have to experiment with WorldSpaceLightPos, but I don’t understand how. I saw a thread on the forum about this division, but there it was the color of the shadows and it didn’t fit me
If you add a plane to the scene, you will see the problem
Your test is not entirely correct.
1. You use white color, that is, to check the functioning of the Add node this does not work out that way, I have a problem with it
2. I found that it was mixed in with white: it seemed to separate the light from the point light and the directional light. I understand that I have to experiment with WorldSpaceLightPos, but I don’t understand how. I saw a thread on the forum about this division, but there it was the color of the shadows and it didn’t fit me
If you add a plane to the scene, you will see the problem
Re: Custom Lighting shadow side + Add
yeah You reminded me that your thread is on that forum. I understand that this is not a technical problem, I just stupid lolRicardo Teixeira wrote:Apologies but this forum is aimed mostly at technical support, I don't think you'll get many answers here from other users.qw_zzz wrote:nope... im just hoping if someone else could help me with the conversion?
I recommend posting on the official shader section of the unity forum.
I will try to ask, suddenly someone will prompt the decision
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Custom Lighting shadow side + Add
I'm not entirely sure on what to suggest since, unfortunately, the issues you're facing are related to shader conversion, which is beyond the scope of our support as we don't have the resources to be able to provide this type of assistance due to our limited team size. Asking for help in the Unity Shader Forum might be your best bet since the community is pretty active.Ozhogi wrote:yeah You reminded me that your thread is on that forum. I understand that this is not a technical problem, I just stupid lolRicardo Teixeira wrote:Apologies but this forum is aimed mostly at technical support, I don't think you'll get many answers here from other users.qw_zzz wrote:nope... im just hoping if someone else could help me with the conversion?
I recommend posting on the official shader section of the unity forum.
I will try to ask, suddenly someone will prompt the decision
We apologize for the inconvenience and are at your disposal to help you solve any ASE related issues you might come across, thank you for understanding.
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!