Continuing with runtime image manipulation I stumbled across some code on the Unity forums found here, all I had to add was a strength modifier to gain a little more control of the function. The function below “NormalMap” is written in c#, it takes 2 arguments and should be used as such:-

Returned Image(Texture 2d)= NormalMap(Source Image(Texture2D),Strength of Bump(Float));

18662 Total Views 1 Views Today