0 votes

Guys and Gals, I am wondering how to achieve some form of interaction between a screen shader and 3d lights.

In my FPS project I added a simple canvas shader that shows a texture with some lens dirt. This alone looks quite OK, but in order to make it look real I'd like the texture to respond to 3d light in the scene (ie, become highlighted when the cam is pointed at a light source in the 3d scene). I like to think it's possible with a shader (eg, there is a lens flare shader that interacts with 3d light).

I'll appreciate any tips. Thanks.

in Engine by (512 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.