Jump to content
pgrochola

curve rendering parametric s?

Recommended Posts

Hey,

I have a very simple curve rendering question..

Inside a shader.. how do you get the equivalent of parametric s? 

When building a shader, if i plug the parametric t into the surface color i get a nice black and white ramp running ALONG the curve. How do I get a ramp that runs ACROSS the curve?

Pluging the parametric s into color doesn't return anything. (which makes sense because curve has no geometric thickness)

What am I missing?

thanks!

 

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

×