Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Shader keyword limit

$
0
0
Hello folks!

Recently we seen some users experiencing issues with limited keyword count. As result we decided it might be a could time to revisit this problem again.

So for some who do not know about the global keywords limit, here is quick explanation.
Basically when you declare any new keyword in shader (etc. multi_compile, shader_feature) or with scripting API (etc. Shader.EnableKeyword, Material.EnableKeyword...) we actually assign unique index from 0 to 255 and store it as global...

Shader keyword limit

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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