Jump to content

Distance / Proximity based reveal in material


starion83

Recommended Posts

Hi everyone,

I'm hoping this is a simple one, but can't seen to find the right answer.

Basically I'm trying to reveal the surface of an object, as another passes through it. The tricky part is I can't use geo attribs to drive this (Geo topography is inconsistent and can't be altered) and instead need to handle it all in the material.

I'm using Redshift to render, and have tried using AO to achieve this, but I really need more control with a pure distance based shading that I can direct a bit more using a ramp to control the reveal over the surface.

Is there any way to achieve this? 

Many thanks in advance

 

Link to comment
Share on other sites

You need to be specific what you mean by "reveal". Do you mean the surface is black / not seen, but as another object passes by, it becomes visible? Then use a light attached to the moving object, with a tight attenuation. I don't understand why geo attribs can't be used. Will your employer fire you if you subdivide the surface for more geo detail? Subdivide, use a point wrangle to compute the distance to the passing object and save it as attribute.

Link to comment
Share on other sites

2 hours ago, guache said:

You need to be specific what you mean by "reveal". Do you mean the surface is black / not seen, but as another object passes by, it becomes visible? Then use a light attached to the moving object, with a tight attenuation. I don't understand why geo attribs can't be used. Will your employer fire you if you subdivide the surface for more geo detail? Subdivide, use a point wrangle to compute the distance to the passing object and save it as attribute.

Thanks Joseph.

Sorry I could have been a bit more specific - I'd like the object to drive the opacity of another object. I really need a distance based solution as the object causing the reveal is complex, so the light approach wont work.

I was hoping there is some way do to this purely in the material, as the geo of the object being revealed is a product, and can't be altered. 

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