How to Change Normal Map intensity on the new Standard Shader via script at runtime

I want to change this during Update().

Thank you :slight_smile:

1 Like

Something like this sould do:

renderer.material.SetFloat("_BumpScale", newNormalMapScaleValue);

You can download the build in shader and look inside what all the property’s are called.
Built-in Shaders for Unity 5.0 RC3
Then you can set / get the values via the material class at run time.

3 Likes