Undertaker Posted July 15, 2004 Share Posted July 15, 2004 Hi everybody, I am using a ASAD light shader on a sphere in order to use this sphere's point as cone lights, but I wonder how I can assign a color ramp to this ASAD light shader. For example I would like to have the top point to be blue and the bottom point to be red, basically asigning a Color on the Y axis. Do I have to use an image map, even though that is not very flexible ? or maybe an expression in an attrib Create Sop ? Thanks in advance Julien Quote Link to comment Share on other sites More sharing options...
stevenong Posted July 15, 2004 Share Posted July 15, 2004 Hey Julien, Assign a Point SOP to the Sphere & turn on "Add Color". Use the following in the fields: R = 1-$BBY G = 0 B = $BBY which should make the bottom half of the sphere red & the top blue. If this doesn't work for you, you can always use a Paint SOP. Finally, in the AttribCreate SOP, replace the colour values with $CR $CG $CB Cheers! steven Quote Link to comment Share on other sites More sharing options...
Undertaker Posted July 16, 2004 Author Share Posted July 16, 2004 thanks ! 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.