CG Shaders – Oren-Nayar Fast

After getting Oren-Nayar working, I started looking for quicker solutions, as I can’t justify moving to SM 3.0 just for diffuse lighting. I happened upon Pope Kim’s blogĀ postĀ about an optimized Oren-Nayar shader they implemented for Warhammer 40000: Space Marine. It provided a neat solution that got me back to SM 2.0 (YAY!) but it wasn’t […]