31712 : Triplanar and Substance

Heya, I know this isn’t really POPs related per se, but i don’t think this triplanar stuff is out in any other builds yet?

I am testing it with POP geometry so maybe it is related though. Would be nice if the PBR + substance TOP could have a way to use triplanar in one place ( below the substance TOP par?), right now it seems that even if I switch all maps to triplanar, it’s not working for normal/height, whether using the single substance top, or specifically adding to the Height or Normal maps with substance select. Render gives error that no texture coords are being provided. I don’t know if this is somehow intrinsically not possible with triplanar and normal/height mapping ( i don’t think so ) or just not plumbed under the hood yet.

So I guess its two things:

  • RFE for ease of setting triplanar when using the Substance TOP feature of PBR
  • fix triplanar usage by height/normal maps of PBR MAT ( without needing to go into GLSL)

Hey Peter,

Triplanar Mapping should already work with the PBR MAT Substance TOP parm for all maps. I’m guessing it might not be working for you because you haven’t created the Triplanar Coordinates for your POP. You can do so via the Texture Map POP, setting Texture Type to ‘Triplanar Coordinates’.

I did however just observe a bug that happens if normal map is set to triplanar mode, and height map is enabled, then the geo vanishes. Will fix this.

And if you’re using the Substance TOP parm, then for each map you want to do triplanar mapping on, you have to set that individually via the ‘Texture Sampling Mode’ menu for that map - as you’ve already tried.

If none of the above is the issue, can you share an example toe so that I can have a look.

Thanks,
Varad

Thanks varad.

Sorry if my post was ill-worded. Generally the triplanar definitely works with the triplanar texture POP creating the needed data and using the new triplanar mapping modes in the MATs except it seems for Normal / Height in this particular setup i have.

The RFE I was asking for was an easy single way of setting the mapping mode for all maps ( diffuse, metalic, rough, ao, normal, ht, etc) when using the single substance TOP option… but i guess I can just make a script for it since it seems the individual map settings still apply when using the single Substance TOP, except for normal/height in my case so :

Error I get on the Render TOP:

A MAT is using texture coordinates, but the SOP being used with it does not have UV attributes. UV (uv) attributes can be created with the Texture SOP.

Here is a toe and sbsar for the error i was getting when attempting to use normal and height maps. This was with 31712, maybe it’s already been fixed in more recent builds though.

substancePopPlay.toe (10.5 KB)

link to sbsar : Dropbox

Hey Peter,

Thanks for that toe. Indeed i’m seeing a bug where if you try to use Normal Map in Triplanar Mode, with any other map also in Triplanar mode, then it incorrectly errors. That’s why in your toe, since the other maps are also set to Triplanar mode, you get an error. So seems like for now, if you use triplanar mode in Normal map, then you can’t use it in other map types, and vice versa. We have noted this and it should be fixed in future builds.

For the RFE, that’s a great suggestion and i have started an internal discussion for it.

Thanks,
Varad