don't generate shaders for LIGHTDEF_USE_SHADOWMAP when r_sunlightMode is disabled
wrap usage of standard derivatives functions in conditional so they can compiled when unsupported and disabled
don't regenerate GLSL shaders unless required