- Home /
Runtime normal maps by object distance
Hi there, Unfortunately I'm a 3D artist and I'm looking for a way to achieve my goal. Basically I have two normal maps ( but this will extend up to 4-5 normal maps ), and I want them to have the normal map "strenght" dynamic Here is a quick example Lets say I have two normal maps ( Tex1 and Tex2 )in my shader and two objects ( lets call them Obj1 and Obj2 ) The distance between the two object is 0, and my normal map strenght walue will be 0 as well One of the object ( Obj1 ) start to move and now the distance is 0.7 I want "Tex1" to have value at 0.7 Now I have the distance between two objects, where one of them is not the same as before ( so I have the distance between Obj1 and Obj3 ), and the distance is 0, so the value of the normal map "Tex2" is at 0 as well When the distance between Obj1 and Obj3 is 0.5 I want Tex2 to have the normal map strenght value at 0.5
I hope I made myself clear It is possible to achieve something like that?
Cheers