#Can material keywords affecting other material variants keywords or not?
1 messages · Page 1 of 1 (latest)
Material keywords are just preprocessor definitions, so it totally depends on how they are used in the shader. Logic gated behind one keyword could totally change depending on another keyword. It's all up to the developer that implemented it.
I mean in case that the shader has its custom editor to turn on/off keywords,
Then for example:
Material A has a toggle to turn off its shadow, when turn it on it will add keyword: DISABLE_SHADOW
Then material B which is variant of A, I want its shadow to turned on so I turn the toggle off.
Can the case like this affect material variant?