Kind of hard to word, but I have a shader and I want to change the float value using another script. When I change the float value of a specific property I want all materials using the shader to change also.
How can I do this? I have looked through the documentation and found nothing.
This is as close as I have gotten, but it only fades the material assigned, not all materials using that shader. In java
snowObject.renderer.sharedMaterial.SetFloat( "_Fade", dynamicSnowFade );