Everything related to SDK.
#367108
Trying to assign r2 values in a layer. Found the function setFresnelCustom but I get a script error when trying to use it.

My code is

# Add new layer to material.
layer = material1.addLayer();
# Add new BSDF to layer.
bsdf = layer.addBSDF();
#set r2 values
bsdf.setFresnelCustom(75.00, 40.00, True );

but I get the error:

AttributeError: 'Cbsdf' object has no attribute 'setFresnelCustom'

What is the correct way to set r2 values?
4K Support not working

Has anything been done about 4K monitor support? I[…]

Hi again dear customers, In the version we upload[…]

Hi all, I'm sure this is more simple than I'm mak[…]

Hi, You can create it in the MXED and then use th[…]