Jump to content

Diffuse color not rendering with custom roughness attribute


Recommended Posts

Hello!

I can't wrap my head around this one. I applied some random colors on the primitives with the default @Cd attribute & set the roughness to 0.1 on the principled shader. The colors show up and everything seems to work fine.

BUT, just as a test, I tried to bind a custom roughness attribute with the same exact roughness values (0.1 on all primitives, just like it's set on the shader) and when I plug it in, the colors don't come through... I get a black & white render instead.

I am lost as to why the shader/renderer is behaving this way... logically the outcome should be identical & I have no idea why the colors disappear.

custom_shader_attribute.hipnc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...