- Home /
Dynamic coloured area shader (galaxy sovereignty zones)
Anyone know of a shader or solution that could implement dynamic coloured areas. My intention would be to use them as sovereignty zone indicators on a galaxy map. Like this:
A shader could be used to colour in the map, obviously (in fact, a shader would have to be used to colour in the map!) - but you mean to calculate where the zones themselves lie?
It's unclear from the picture what are the rules that deter$$anonymous$$e the zones... are they like Voronoi polygons centred around certain control locations? Or are they splines or curves defined between points? $$anonymous$$y gut feeling is that this is a task that would be better suited to a script than a shader.
Answer by MaT227 · Dec 02, 2013 at 02:31 PM
This shader can be considered similar as a fog of war effect. Maybe you can search in that direction.
Unfortunately I can't provide a direct solution for your needs.
Your answer
![](https://koobas.hobune.stream/wayback/20220613123156im_/https://answers.unity.com/themes/thub/images/avi.jpg)