GPUOpen-LibrariesAndSDKs / RadeonProRenderUSD

This plug-in allows GPU or CPU accelerated viewport rendering on all OpenCL 1.2 hardware for the open source USD and Hydra system. You can build this plug-in as a USDView plug-in or a Houdini plug-in.
Apache License 2.0
215 stars 47 forks source link

Displacement Texture #399

Closed AlexanderThePilgrim closed 3 years ago

AlexanderThePilgrim commented 3 years ago

Hi,

I'm not sure if this is an issue or if I'm just using the wrong workflow but I have a displacement texture that I am using that works fine with Karma but when I switch to RPR then all displacement goes away. I've tried several different shader setups from using the principled to using the RPR combine with an RPR uber and a displace texture and output node and I can't seem to figure out how to get texture displacement working, am I just going about this wrong? Thanks in advance

hshakula commented 3 years ago

Hi, can you share a sample hip?

AlexanderThePilgrim commented 3 years ago

Yes, here is two ways I tried to accomplish it (the one setup obviously doesn't work in Karma as it uses RPR nodes) Displacement.zip

hshakula commented 3 years ago

I've updated rubber_toy material, please check Displacement.zip

AlexanderThePilgrim commented 3 years ago

Thank you, that helps a lot. I figured it was something about how I was setting it up but I couldn't find answers for it anywhere

hshakula commented 3 years ago

Have you seen this tut https://www.sidefx.com/tutorials/3rd-party-rendering-in-solaris/? Varo explained such things quite well

AlexanderThePilgrim commented 3 years ago

No I haven't, thank you!