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
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