Re:WebGL water scene
by steaminghacker on Sunday November 29, 2015 @11:20AM
(#10644975)
the water level penetrates the boat?
[ Parent
| on HN ]
Re:WebGL water scene
by gregschlom on Sunday November 29, 2015 @11:53AM
(#10645125)
A way to fix this would be to render the boat and the water separately then merge the two images, but that feature may not be available on the engine that they're using for this simulation (goocreate.com)
This could be done much simplier by masking the boat with stencil buffer.
Should not be hard to do at all. The engine is open source on github btw: https://github.com/GooTechnologies/goojs