I just don’t have any idea how to make the red shows up. I tried using ChatGPT and he told to use Arctangent2 node or Render Target, but i didn’t really understand.
Hey there @Gravilyt2! I think a method somewhat like this could work for your use case, let me know if it works out!
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
Thank you so much. I was trying to solve it for about 4 hours. It’s almost exactly what i was trying to make, i just need to adapt some things to my case. Just one last question. How did you find this video? I can never find what i want and never know how to search it
No problem! I think for this search I used “Unreal Engine Line of Sight Material”, though I’ve implemented this a couple times, if I couldn’t find a video on it I would have made a demo for it, but this saves time and can be adapted pretty quickly to most use cases similar to it. These can also be used to make fog of war with a couple of changes.