I’d like to know how this works and what they mean if possible, I’ve removed them completely and nothing happens, I’ve tried to access them via Shader.EnableKeyword(“SHADOWS_OFF”); but nothing seems to happen
If you have multiple keywords and need to generate versions of your shader for each permutation of those keywords, use multi_compile:
#pragma multi_compile KEYWORDA KEYWORDB
Note that, in your example, Shader.EnableKeyword(“SHADOWS_OFF”); does nothing because it is already enabled. You need to Disable SHADOWS_OFF (I often find double negatives in these sorts of things)