News for hackers. Stuff that matters.
Re:Show HN: The prime knots in 3D by jonahx on Sunday August 23, 2015 @09:30PM (#10107454)
This is beautiful and really well done. I especially like how the light reflects naturally as the knot rotates. How did you achieve that effect?
Re:Show HN: The prime knots in 3D by prideout on Sunday August 23, 2015 @10:13PM (#10107539)
Thanks! The fragment shader performs simple lighting with one stationary point light that has ambient, specular, and diffuse components. There are actually no true reflections, although that would be fun thing to work on.