KavinduMathish Posted April 8, 2022 Share Posted April 8, 2022 Hello, I wanted to add a different shader layer for the concave areas of my geo. So i used the curvature VOP. But the issue for me is the values it returns are really sharp. See the images below to get an idea. The first image is the result of the curvature VOP. As you can see it has really sharp edges. I dont want that. I want a smooth falloff. For example look at the second image. It's just a AA noise but it's really smooth. Doesn't have a hard edge between black and white. But with the curvature VOP i dont know how to get that smooth look. It returns values from 0 to 1. So i tried fit ranging, using ramps but still can't figure out a way to make it smooth. The third image is the current WIP render of the geo. As you can see when the curvature layer is used in the final render it looks really bad with sharp edges. I want those black areas to be smooth. Any tips on how smooth it out or a different approach to calculate the curvature values? Thank You! Quote Link to comment Share on other sites More sharing options...
Rence Posted April 8, 2022 Share Posted April 8, 2022 Maybe try creating the curvature attribute in SOPS and then bring it into the shader with a Bind node and read in that attribute Quote Link to comment Share on other sites More sharing options...
KavinduMathish Posted April 8, 2022 Author Share Posted April 8, 2022 Just now, Rence said: Maybe try creating the curvature attribute in SOPS and then bring it into the shader with a Bind node and read in that attribute I tried that too. But since it's values are per primitive it doesn't give a good result either. I have to increase the resolution of the geometry much more higher if to get a smooth result from SOPs. But the geo already has a lot of polygons so increasing the number of primitives more is just not a good way I think. Quote Link to comment Share on other sites More sharing options...
Rence Posted April 8, 2022 Share Posted April 8, 2022 Can't you promote the attribute to points and then do an Attribute Blur? 1 Quote Link to comment Share on other sites More sharing options...
KavinduMathish Posted April 8, 2022 Author Share Posted April 8, 2022 27 minutes ago, Rence said: Can't you promote the attribute to points and then do an Attribute Blur? I forgot about blurring. It worked like a charm. Thank you! 1 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.