News for hackers. Stuff that matters.
Re:Surface [WebGL] by jonbro on Sunday April 03, 2011 @03:52PM (#2403663)
there seems to be some problem with the lighting. Actually it is not a problem, just something that would add immensely to the realism. If you do per vertex normals, rather than face normals, then you will get smooth lighting across the face.

I suppose I should provide code rather than just suggestions.

Re:Surface [WebGL] by Geee on Sunday April 03, 2011 @05:36PM (#2404147)
Going a bit further you could add a simple pixel shader and modulate the pixel normals along with the waves.