FXslogger Posted February 21, 2017 Share Posted February 21, 2017 (edited) Hey, this may not be possible, but I have a material override applied to an object that I am instancing the. The material override is applied at the sop level of the object. That way I can assign per primitive materials, settings. I want to vary the color of my instance passing the point color through the instance node. I can't seem to do this and assume its because my material override is applied at the sop level. I've tried adding the following to my material's base color and material override's base color. No luck. point("/obj/instance1/OUT", instancepoint(), "Cd", 0) If I remove the sop level material override and place the material on either the instance object at object level or my instance node, the color comes through. Is there some kind of work around I could implement? Much thanks! color.instanc.1.hip Edited February 21, 2017 by FXslogger Quote Link to comment Share on other sites More sharing options...
Sepu Posted February 21, 2017 Share Posted February 21, 2017 (edited) you can just a apply a color node and set it to random. If you want to make it with a material you need to open your material. Right click > "allow edit of contents" But it will be a lot easier setting up in Sops Edited February 21, 2017 by Sepu Quote Link to comment Share on other sites More sharing options...
FXslogger Posted February 21, 2017 Author Share Posted February 21, 2017 I've attached a simple test scene. I don't want a random color, I want to pass specific point colors to the instance material override. With a material override specified at the sop level of my instance geom (a box), it doesn't appear to pick up the instancepoint() call. Prob because instance works only at the object level. I'm looking for a work around to keep the material override and allow point colors to pass through. 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.