Graphics, Programming, Unity, Tutorial, Technology.
this check happens at build-time, keywords which change dynamically at runtime (like the URP lighting keywords) should use multi_compile. Otherwise, use shader_feature. Why bother with this? Well, shader variants are not cheap to compile! Shader features help optimize build time. Shader features