News for hackers. Stuff that matters.
Re:An Overview of Phong Shading in GLSL by hughsk on Monday May 18, 2015 @06:07PM (#9567129)
Re:An Overview of Phong Shading in GLSL by yoklov on Monday May 18, 2015 @08:55PM (#9567660)
Just tried it on the two examples I provided. It doesn't remove conditionals, which was basically my whole point

FWIW, I don't think it can without assuming the input lies in a certain range.