4 ms·
Looks very nice apart from some minor details like water going through the boat. And runs very smoothly on my old Linux laptop with a built-in graphics card.
by vitaut 11y ago
Looks very nice apart from some minor details like water going through the boat. And runs very smoothly on my old Linux laptop with a built-in graphics card.
- rpwverheij 11y agoyou really think the water in the boat is not intentional?
- overgard 11y ago.. yes Or maybe not intentional, but too hard to fix. I imagine if the water in the boat was intentional, it'd have totally different looking characteristics (a puddle looks totally different from water in a deep ocean, even if it's the same material). It'd be a pain not to get it in the boat. There's a few ways I can think of to address it, but none of them would be easy: 1.) dynamically tessellate all the water geometry on the outskirts of the boat not to intersect (slow and complicated!) 2.) do some sort of stencil rendering to ensure the interior of the boat doesn't render the water (similar to how stencil shadows work). Also complicated! 3.) Render the hull of the boat only to the depth buffer (no colors rendered), and use multiple passes to make sure the water doesn't clip into the boat. There's probably quite a few other ways I haven't thought of, but it's definitely not an easy problem.
- shasta 11y agoThe easiest way I can think of would be to render the boat first, then render an invisible depth-only polygon at the top of the boat (that, together with the boat hull, encloses the displaced water volume), and then render the water. This doesn't add much complexity. You already have to draw the water in a pass after the boat because the water is translucent when the view angle is steep enough.
- shasta 11y agoThe water in the boat doesn't look like water in the bottom of a boat should look. It's clearly just the surrounding showing through and would be work to fix.
- vitaut 11y agoPretty sure that it's not intentional by the look of the waves that go through the side of the boat.
- josteink 11y agoAnd that you can see the reflection of the boat inside itself.