Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Draw pixel only in polygon

$
0
0

@Hawkja wrote:

Hello there!

This topic is a sort of sequel of my previous topic here

The solution found by willmotil was great and looked like this :

But the problem with that solution, is that the player can see through walls, that is not what i want.
So i enhanced my raycast to create a Polygon (Monogame.Extended.shapes.polygon) of what the player can really see.
Like this :

So now i'm wondering if it's possible to draw only pixel in the polygon that i have created ? Somebody have any clues about if it's possible ?
Thanks you :slight_smile:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles