Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] I need help! => Topic started by: sszyszka on 2022-03-24, 04:52:36

Title: Light node equivalent?
Post by: sszyszka on 2022-03-24, 04:52:36
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
Title: Re: Light node equivalent?
Post by: TomG on 2022-03-24, 12:15:31
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.
Title: Re: Light node equivalent?
Post by: sszyszka on 2022-03-24, 15:17:01
Great suggestion. I’ll have to try that. Thank you!