Jump to content

Light Instancing Broken In H9?


Recommended Posts

I think you mean the method in H8?

In H9 to instance one of the default Houdini lights all you need to do is either add an instance object or take any object and add the instance render parms (just use inst as the keyword when adding parameters to the object node). Then put the path of the light you want to instance to your points. Then toggle on point instancing.

You can use the new instancepoint() expression (replaces $IPT from H8) on the various light parms to vary the lights. e.g.: red light component could use fit01(rand(instancepoint() +1.001), 0.8, 8.9).

This "should" work for default lights referencing shaders the H8 way as well. It should also work using material SOPs and varying shader strings per point but most of what you want to do should be possible with instancepoint() on the shader parms directly.

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.

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