Jump to content

intersect() inside material builder


nuki

Recommended Posts

Inside a material builder I would like to use the intersect() function. As I couldnt get it to work with the op:/obj/path_to_mesh syntax or any other way I was wondering if using intersect() is even possible in mat context? Also, is there a simple way to return the scene path to the geo the current sample belongs to?

Link to comment
Share on other sites

23 hours ago, 3dome said:

I'm not sure if that is always true.. have a look at this very simple example

dm_IntersectInSHOPs.hip

pretty interesting, was it always like this? i was doing some stuff with point clouds in shader and never could make this work in earlier versions. anyways i'm glad it works now :) 

Edited by davpe
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...