Jump to content
Sign in to follow this  
cudarsjanis

Redshift hair rendering (for Feathers)

Recommended Posts

Hi guys,

Any idea how I could to pass Cd point attribute to RS Hair shader? or any other point attribute.

Cd works only as prim attribute on curves.

I have done it with particles and primitives with ParticleAttributeLookup, but it doesn`t work on hair curves.

Weird thing is that @width works perfectly, by default. That is why I think I should be able to use any other point attribute that I create as well.

Any ideas?

 

RedshiftHair.hip

Share this post


Link to post
Share on other sites
31 minutes ago, Sepu said:

I cant look at the file right now, but have a look at this

https://www.redshift3d.com/forums/viewthread/22890/

Thanks Hernan,

but I got this working as well, Cd as prim attribute. But then you cannot get ramp from bottom to tip. just one color for each hair :(

I would like to have control over color per point as we need to render feathers and look dev is gonna come from houdini with Cd attribute.

Cheers

Janis

Share this post


Link to post
Share on other sites

I`ve found out this is a limitation for Redshift, currently curves don’t support point attributes. They only support attributes and UV coordinates at the primitive level, one value for all the curve points.

 

But...

https://www.redshift3d.com/forums/viewthread/25582/

Pinkmoonllc: "I did have my own work around, however. I imported Cd and multiplied it by the RS Ramp Node, which I left as white. See attached image. (requires uv vertex attr in sops)"

Will have to try this.

Share this post


Link to post
Share on other sites
On 11/5/2019 at 12:59 PM, cudarsjanis said:

Pinkmoonllc: "I did have my own work around, however. I imported Cd and multiplied it by the RS Ramp Node, which I left as white. See attached image. (requires uv vertex attr in sops)"

Will have to try this.

I`m having 0 luck with this one unfortunately.

Here`s my .hip, if anyone want to play around with it or have some better idea.

Cheers

Janis

RsHairCdTest.hip

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
Sign in to follow this  

×