- Home /
How can I have the reverse of this effect?
Firstly disclamer I am pretty new to Unity. I have a 2D topdown game where the player has a field of view radius effected by colliders. I am accomplishing this by calculating the field of view from a youtube video that I saw and by giving it a mesh renderer and giving it a semi transparent material so the area looks a little darker. The problem is that I want the field of view area to look normal while I want the rest of the map to be this darker color. How can I accomplish this?
Below is my mesh Object:
Your answer
Follow this Question
Related Questions
How to show render texture in a 2D game (Fog of War). 1 Answer
Fog Of War with line of sight - Tons of raycast or better solution? 0 Answers
How to force the compilation of a shader in Unity? 5 Answers
Fog of War Shader help - prevent light changes 1 Answer
Shaders making raw image invisible 0 Answers