API GlossinessPBR - RoughnessPBR


(Digitaldraping) #1

Hi, when using the API can you switch from using the GlossinessPBR to using RoughnessPBR?

I understand how to update the GlossinessPBR factor when it is enabled: true

how do you set the GlossinessPBR to enabled: false

and then enable: true the RoughnessPBR

So then I can set the RoughnessPBR factor

Thanks for your help.



You should be able to just set GlossinessPBR.enable to false and RoughnessPBR.enable to true?

(Digitaldraping) #3

Yes, thank you James, I don't think I cleared my cache. Works just as it should.


Glad to hear it :slight_smile: