Jump to content
BlackPariah

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×