Dag Posted April 6, 2024 Share Posted April 6, 2024 Hi, I created a geometry light in Karma and I want to use a color ramp for emission color. How can I achive it? The geo should be volcanic lava. Best, D. Quote Link to comment Share on other sites More sharing options...
asczhu Posted April 8, 2024 Share Posted April 8, 2024 Hi, I would just create a float attribute (i.e. mask) for the geo. Use noise, random, or bounding box, etc. to generate this mask, as long as the result is between 0 and 1 and fit your design. Read out the mask attribute in LOP and feed it to the ramp node to get the color you like. The rest is easy. Cheers, cz Quote Link to comment Share on other sites More sharing options...
Dag Posted April 8, 2024 Author Share Posted April 8, 2024 Thank you very much!!!!! Quote Link to comment Share on other sites More sharing options...
asczhu Posted April 9, 2024 Share Posted April 9, 2024 You are welcome. Glad it helps! 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.