Author Topic: Light node equivalent?  (Read 874 times)

2022-03-24, 04:52:36

sszyszka

  • Active Users
  • **
  • Posts: 9
    • View Profile
    • SebastianSzyszka.com
Does Corona have a function equivalent to C4D's Light Node? I want to be able to change a shader based on how the surface is being illuminated by a specific light.

The effects I'm trying to recreate is the luminous effect of a UV light illuminating a UV reactive surface. Imagine a sphere that's diffuse white under all lights, but one designated light reveals the self-illumination channel only where that specific light hits the surface.

Thanks,

-Seb

2022-03-24, 12:15:31
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5484
    • View Profile
Not a direct equivalent, though sounds like it could be done by creating some (non-renderable) geometry simulating the light cone (attach it to the light source so you just need to animate the light source location and direction and the geo will follow, of course), and then using Corona Distance in a mask for a layered material, or perhaps by using Corona Decal.
Tom Grimes | chaos-corona.com
Product Manager | contact us

2022-03-24, 15:17:01
Reply #2

sszyszka

  • Active Users
  • **
  • Posts: 9
    • View Profile
    • SebastianSzyszka.com
Great suggestion. I’ll have to try that. Thank you!