aboutsummaryrefslogtreecommitdiff
path: root/game/src/GameSession/Minimap.gdshader
blob: 9afd470ca57d445ee10bcd300f7bf36589643627 (plain) (blame)
1
2
3
4
5
6
7
shader_type canvas_item;

#include "ProvinceIndexSampler.gdshaderinc"

void fragment() {
   COLOR.rgb = mix(COLOR.rgb, vec3(0.5), float(read_uvec3(UV).b != 0u));
}