Triplanar Normal map

   2245   2   1
User Avatar
Member
1 posts
Joined: March 2023
Offline
Hello, I am creating an environment and rendering it with karma. I create a shader in materiallibrary using principledshadercore. My problem is that I can't use the normals correctly, they don't give the right effect. Can you tell me how to use normals correctly in such cases?

Attachments:
image_2023-04-19_14-42-08.png (986.9 KB)

User Avatar
Member
8177 posts
Joined: Sept. 2011
Offline
You can't use triplanar mapping with normal maps without some custom implementation. normal maps require tangents, which don't exist when triplanar mapping, so it's not well defined even if you did come up with a custom shader that blended the resulting normals in object space. bump or displacement maps are preferred when using triplanar maps since they don't require any local tangent space to use.
User Avatar
Member
281 posts
Joined: Sept. 2012
Offline
Hi Tomas, hello everyone!

Im a little puzzled here, i thought i might ask you more precision.

Looking at the triplanar mat x shader in karma we have a normal map in. So to my understanding, it looks like each projection actually compute a shading normal from the tangent normal , then blend each projection component.

I see Adam Swaab was using in the sidefx Solaris demo from a while ago, at 3min20: https://www.youtube.com/watch?v=_lscDHkp2Fk [www.youtube.com]
What did i miss please?


- What about using height, baking to uv (if any) , than building normal there? Not as fluid but...


- And will you solve Normal tangent continuity at UV seams?
Vincent Thomas   (VFX and Art since 1998)
Senior Env and Lighting  artist & Houdini generalist & Creative Concepts
http://fr.linkedin.com/in/vincentthomas [fr.linkedin.com]
  • Quick Links