Can I get the light Intensity from the pixel shader?

Hello.

Can I get the light value from the pixel shader?

Is there a way to print the value in-game or use it in code?

At least I want to know if it is possible.

Well, I’m not sure if I can help you but… if you want literally anything “possible,” I know there is a way to get the light-only part of the scene using one of the post processing nodes. But I’m not sure if you can use those if you aren’t making a post processing material.

You can try playing with it if you want though. :slight_smile:

It is one of the options for the SceneTexture node: Post Process Materials | Unreal Engine Documentation

Thx!! I will try it

Thanks to answer.
As a reference, I couldn’t get what I wanted. (┬┬﹏┬┬)