1
$\begingroup$

enter image description hereenter image description hereDoes anyone know how to achieve the effect of having a light cast upon an object, yet for that object to be invisible when rendered, yet the light that is cast upon the object is still visible?

I've tried experimenting with the Light Path Node, Mix Shader Node, The Object Properties/Visibility Tab, but with no success - it is an obscure thing to ask for I suppose...

If this isn't clear I can rephrase!

I'm working in 2.90.1 and in Cycles

Thanks!

$\endgroup$
  • $\begingroup$ Do you mean a light threshold? And, which rendering engine do you want to use? $\endgroup$ – lemon Oct 17 at 16:50
  • $\begingroup$ Sorry, I should have mentioned I'm fairly new to blender - I want to render in cycles, what is a light threshold? $\endgroup$ – Peter Simpson Oct 17 at 16:57
  • $\begingroup$ threshold would be bacause, if no light all is dark and if even very little light, there is light. Or is the lamp a spot? $\endgroup$ – lemon Oct 17 at 17:01
  • $\begingroup$ I'm wanting to get the effect of the light on the object, but the object itself to remain invisible $\endgroup$ – Peter Simpson Oct 17 at 17:14
  • $\begingroup$ Hello :). Please add some images, or even a rough sketch. Some people (like me) have rather bad imagination :). $\endgroup$ – Jachym Michal Oct 17 at 20:37
1
$\begingroup$

I know you want it in Cycles, though you can do it using Eevee:

enter image description here

The node setting:

enter image description here

The key point is to use "diffuse" and "shader to rgb" (the left part). This is some kind of preshading that allow to test the light intensity. This result is then tuned through a colorramp to mix between the lighted and transparent parts.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Incredible! I don't know how you figured it out but thank you! $\endgroup$ – Peter Simpson Oct 18 at 12:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.