Skip to content
Discussion options

You must be logged in to vote

Hi @Frollo24

Yes, this is a fairly new feature (introduced in #690). Take a look at the PR for an example. I've been meaning to write some documentation for a while now...

This should work out of the box. The only slight difference with what you suggested, is that you need to pass your attribute value as a Texture or Spectra plugin. In your case, I guess you'd want to use the uniform plugin.
This feature was intended for color attributes, so the interfaces relfect that. You won't be able to pass an integer value. But if you use Shape.eval_attribute_1() you'll at least get a 1-dimensional value.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Frollo24
Comment options

@Frollo24
Comment options

Answer selected by Frollo24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants