I am using a material effect that creates a outline of all objects but the line is highly aliased and would like to blur the outline it's self. I know how to create a blur in the material editor but that edits uv's and i want to blur from a constant clamp and not a texture sample. Is this possible?
Replies
Current looks like this:
As you can see it needs so AA.
so the current material
And what comes out of the constant clamp is what needs to be blurred
This is what comes out of the clamp:
and the setup to get that image:
Hope that explains it a bit better.
I need some ideas as how to blur the clamp because it isn't an image.
It's also possible to vary the line width based upon scene depth, so you can get thinner lines in the distance vs. up close (to keep the image from flattening out and looking too cartoonish).
To do this, try duplicating your shader tree and setting a "fat" line for the original and a "skinny" line for the duplicate, and Lerp them using a SceneDepth node