Quantcast
Channel: Answers by "keeperkai2"
Viewing all articles
Browse latest Browse all 16

Answer by keeperkai2

$
0
0
According to the reference, Shader.setGlobal functions would only work on variables that are not exposed as a property in the property block. So what you have to do is remove the _test("_test",Float) = 0.0 line to make it work. Be sure to remake a new material, since unity will save the properties you have set on a material even when you are using a shader that doesn't have that property.

Viewing all articles
Browse latest Browse all 16

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>