Jump to content

How read array in VOP for material


Recommended Posts

I want to custom 2D shader use houdini. So I store lights positon to point attribute and read them in material.

It is work when only single light in the scence. But if there have many light in the scence, I must store lights information to array attribute to use that.

I try to do that but I can't read any thing. How can I do that?

601b5ebfa2e6b_QQ20210204103945.thumb.png.9a41ec1ef053c2f6dafcfff2cb1ee414.png

QQ浏览器截图20210204104058.png

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...