Jump to content

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

Link to comment
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

Link to comment
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.

Link to comment
Share on other sites

  • cudarsjanis changed the title to Redshift hair rendering (for Feathers)
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

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...