Ming
Ming

Reputation: 69

Parallax Occlusion Mapping with Silhouettes

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

Answers (1)

Andreas Haferburg
Andreas Haferburg

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.

enter image description here

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

Related Questions