I want to be able to detect the collision of two objects, via the shader editor. Till now I got a white spot exactly there where the object hits the other but I dont know how I can use this little white spot as a trigger for other changes. For example when I would like to change the color of the complete material. How can I say the material: When a little part gets white then change this or this.
I can get it more accruate but for demonstration purposes I made it that there is a circle already on non collision. The detection doesnt need to be that accurate. The end goal is to have a energy shield that is changing when an asteroid hits it. The question is now: Can I somehow check if the material got white at a certain point and then get a complete white or black map if false or true? The problem is when I have accurate collision detection the white spot is the size of the collision object and you would see nothing. So I need to either make it bigger or be able to get True False on little change. Again Thanks in Advance.
Greetings and thanks in forward