ioquake/ioq3 — pull request #36 by inolen (2014-02-01 06:00:03+00:00)
Title: generate less shaders when r_sunlightMode is disabled

* don't generate shaders for LIGHTDEF_USE_SHADOWMAP when r_sunlightMode is disabled (16 less iirc)
* wrap usage of standard derivatives functions in conditional so they can compile when unsupported and disabled