1
$\begingroup$

Is it possible to take a lamp/sun/point light and use it as a value on the scene to tell materials that are not affected by the light source to emit their own light?

enter image description here

This is photoshopped example of effect that I want to achieve. Ball + particles with diff/emit shader is lit from left by sun, the darker it becomes, the more light is emitted from particles.

$\endgroup$
  • 1
    $\begingroup$ If you want to drive the material emission strength with light emission strength then yes. Drivers can do this. Can you clarify the question a bit please? If you want to determine which materials are illuminated by lights and which not, then no. You would have to bake a lightmap and influence the materials with this map in a second pass render. $\endgroup$ – Jaroslav Jerryno Novotny Jan 27 '16 at 17:35
  • $\begingroup$ ! (i.imgur.com/XirQMPd.jpg) This is photoshopped example of effect that I want to achieve. Ball + particles with diff/emit shader is lit from left by sun, the darker it becomes, the more light is emitted from particles. $\endgroup$ – markac Jan 27 '16 at 18:29
  • $\begingroup$ That looks like a transmittive material. $\endgroup$ – Jaroslav Jerryno Novotny Jan 27 '16 at 18:52
  • $\begingroup$ If you would call shader that is reacting to light rays like that, then it is indeed. Can it be build using nodes/drivers though? $\endgroup$ – markac Jan 28 '16 at 9:14

Your Answer

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

Browse other questions tagged or ask your own question.