OculusRiftInAction/OculusRiftInActionResources — pull request #1 by AlexBenton (2014-06-18 10:50:58+00:00)
Title: Lit shader fixes

Fixes two issues:
* vColor was being multiplied into the final output twice (once in the subroutine and once in the main() method).
* The code divided lightt intensity by ldist, an uncommon way of introducing inverse-distance illumination dropoff. Since the light is in View coordinates, this made simple scene design very difficult.