Reputation: 69
Does anyone knows how to implement the correct silhouettes effect in this youtube video?
Actually, I understand (and successfully implemented) the parallax occlusion mapping algorithm, but I have no ideas on how the silhouettes effect is being archived.
I had found this paper on the internet, but it provides very limited details on the algorithm.
Upvotes: 2
Views: 1168
Reputation: 5520
The video actually doesn't show correct silhouettes. You can see that it's not correct when he looks at a wall at a 90 degree angle: When you look inside the gaps from the side they're just black, you can't look through them.
It's just a cube, so you have quads at right angles. It looks like they simply clamp the u,v coordinates to 0,1 and discard if they're outside.
Upvotes: 1