Making a better (mini) World (map)


Previously, we had a minimap which was created by drawing our primary scene on a render target, then drawing that scene to our display twice: once at display size and again scaled to about 1/8 size.


Unfortunately, scaling down the render target can result in some of the lines not being drawn properly due to pixels scaling to less than 1 pixel in size.

To rectify this we now draw our scene twice:

Once at full scale for normal interaction

Once at 1/8 scale to give us a minimap.

This can lead to some slight distortion in the minimap since lines are much wider than they are in the main display, but the effect is much smoother.

Get Experiments

Leave a comment

Log in with itch.io to leave a comment.