load Light Direction
Upload a unit-length world-space sun direction. Dirty-checked so identical directions across many draws (the typical case for one frame) skip the GL call.
Upload a unit-length world-space sun direction. Dirty-checked so identical directions across many draws (the typical case for one frame) skip the GL call.