cudarsjanis Posted November 4, 2019 Share Posted November 4, 2019 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 Quote Link to comment Share on other sites More sharing options...
Sepu Posted November 4, 2019 Share Posted November 4, 2019 I cant look at the file right now, but have a look at this https://www.redshift3d.com/forums/viewthread/22890/ Quote Link to comment Share on other sites More sharing options...
cudarsjanis Posted November 4, 2019 Author Share Posted November 4, 2019 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 Quote Link to comment Share on other sites More sharing options...
cudarsjanis Posted November 5, 2019 Author Share Posted November 5, 2019 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. Quote Link to comment Share on other sites More sharing options...
cudarsjanis Posted November 6, 2019 Author Share Posted November 6, 2019 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.