Editing Iray Uber Base in Shader Mixer

Hello,

My goal is to create a shader based on the Iray Uber Base shader which will introduce a fresnel darkening at the surfaces approaching perpendicar to the view angle.

1)  I started by creating a sphere and applying Iray Uber Base. Then I imported the sphere material into the Shader Mixer.

2)  I inserted an Edge Blend brick.

3)  I created a new User Parameter float named "Attenuation" and connected it to the Attenuation input of the Edge Blend brick.

4)  I disconnected the User Parameters : Base Color from the Base Color Map and connected it instead to the Edge Blend : Inner Color input. I left the Outer Color at Black

5)  Then I attempted to connect the Edge Blend color output to the Base Color Map : Image input, but the Shader Mixer wouldn't let me make the connection.

Can you help me with this? It's much appreciated!

Best regards, Brian

Edge Blend.JPG
1307 x 1232 - 81K

Comments

  • Oso3DOso3D Posts: 15,045

    Edge Blend is a RSL brick. You can only use MDL (or MDL&RSL) bricks for Iray

Sign In or Register to comment.