so i wonna make a field of view(fov) for my player that doesnt go trough solid objects
here is link so you can try it and give me idea how to do what i want
btw my current fov is made by sprite that is in shape of triangle
Develop games in your browser. Powerful, performant & highly capable.
i got it to work i used shadows and light