Dynamic Lighting and Shading

Hi,
I am developing game which requires lighting effect,kind of like torch. When object is in range then only object is seen else not.
I have tried looking for dynamic shading effect but alas not without success.
Anyone could give me insight on how to do this?

Just use a ClippingNode for your “torch light cone”.

Assuming you want 2D lighting there are a number of ways to achieve this. From your description a simple distance fade might suffice? What else is in your scene?

I posted about this in another thread a little while back too: