I want to be able to control the light on a object, with the dot of a Light Direction and the vertex normal. But i can’t find a way to overwrite the shadows on the model without using Emission.
I don’t want to use Emission as i want shadows from other objects to land on the model.
Could you provide me with a bit more context, as I am a little confused as to what you are using the emmissive input instead of the Base Color, given the control you are requesting?
In other words, what are you exactly trying to do with this material in your scene. You gave me a brief explanation, but I need a bit more to go off in order to assist you effectively.
I want to be able to have full control over the shadow and light sides of the material, if I use Base Color, the shadow side will be effected by the standard calculated light.
So all in all, I want to have the global calculations of shadows falling on the object (from other objects), but I want to control the local calculations in the vertex part of the shader where unreal uses “surface” calculations
In that case, you want to change your to material’s Shading Model to ‘Unlit’ and the Blend Mode to ‘Translucent’ which will get you started in the right direction.
I believe a good example of this set up you are going for can be found within a particle system, like the impact of a bullet hitting a surface and creating the smoke effect. Below is an example of this material set up:
Perhaps using a ‘Masked’ or ‘Translucent’ blend mode, with the ‘Default Lit’ ‘Shading Model’, and combining that with a high opacity value.
This way you can still receive shadows from other objects, but control the amount of self shadowing through the Translucent Self Shadowing settings as well.
I found that what you are trying to do, is primarily used with particle effects so they can control the self shadowing as well as shadows from other objects. There currently is a bug in place with Translucent Self Shadowing which we are investigating.
From what I understand, you will want a ‘Default Lit’ and ‘Translucent’ material for your set up.