how do I…

…tell the shader where the shading point lies on a RiCurve, relative to beginning/end of the curve?? I want to implement a root-to-tip gradient. Or is it among those things that can’t be done arbitrarily in a shader and you need the curve generator to export some extra params??


4 thoughts on “how do I…

    1. Hmm, I went over the code with a fresh looks and I think I found what you meant – they are apparently using “v” for length coordinate, right? I need to try this… should work with one or the other (funny how LAMH curves will easily inherit colour from a texture map mapped for the underlying mesh, but Garibaldi doesn’t seem to).

Comment here

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s