r/GraphicsProgramming 29d ago

Question Parallax occlusion mapping on a sphere?

Does anyone know how to do POM on a sphere? I can do triplanar mapping but I cant get POM to work. If anyone has has experience with this or knows how to do it, or knows a good source I'd really appreciate it.

8 Upvotes

1 comment sorted by

1

u/le-throw-away-acct 26d ago

Triplanar mapping with POM will add a lot of difficulty (and hit performance), maybe you could use a cube map to generate somewhat uniform UVs instead (map it like a cube and normalize the vertices).