I’ve tried several different approaches to get POP attributes into a glslMAT. With SOPs I can usually just declare them as inputs (ie: in vec3 someAttr).
This doesn’t seem to work with POP data. Is there another way to do this or is it something that isn’t available at this point?
internally they are bounds as SSBO, and the TDAttrib_NameOfAttrib() also have TDAttrib_NameOfAttrib(uint id), meaning you can access the attribute for any element, not just the current one.
Ahhh, there it is! I thought I event went looking for an attribute param, but I guess I must have been sleep-deprived or something to miss the “Attributes” page.
Thank you Vincent!
Here’s my implementation. It’s sort of a tentacle monster thing. shub-niggurath.toe (8.8 KB)