Jump to content

Varying Material parameter per instance


Recommended Posts

Is it possible to vary a material attribute per instance?

I am using point instance, I've created a grid to generate some points and the same points have random attribute values that vary from 0 to 1, my instance objects are boxes with a constant shader, I want each box material color get the values from those points.

How can I do that?

Link to comment
Share on other sites

by the way , it can be a litle tricky,

make sure :

- you choosed point attributes in the drop down menu on top

- you checked 'override uses local variables'

then you just have to pîck the material you want to play with, and choose a parameter to override.

Link to comment
Share on other sites

That´s it!!!

The key I was missing is that all the overrides and properties to be override must to be on the object level, thanks for all your support finally I could see that.

Thank you very much for the example Symek, and thanks everybody for the feedback, again :lol: , it was really helpful this forum is really great.

:rolleyes:

See ya!

Edited by tomhanks
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...