Neon Light following mouse cursor


Hi, community!
How can I make Neon Light on background which is following mouse?
And in this example, all the page is just one scene?
Thanks advance for your attention and help!

Similar to this?

https://codepen.io/boytchev/full/MWNPVzM

image

3 Likes

Haha, simple solution!
Huge thx!!!

Hi, @PavelBoytchev
Could you help me to use this in r3f?

Sorry, I don’t use (and don’t know) R3F, but there are other people in the forum, who use it.

:sob::sob::sob:
Does anybody knows how to use this method in r3f?