shuding / cobe

5kB WebGL globe lib.
https://cobe.vercel.app
MIT License
3.15k stars 169 forks source link

Unique marker colors #66

Open bitslip6 opened 1 year ago

bitslip6 commented 1 year ago

I would really like to add unique colors for the markers. Since markers is a vec4, and I don't think GL has a vec5, seems like need to make a new vec3 for each marker color with the 8bit RGB value. Does that sound correct?

Love to hear your thoughts before implementing it.

Great lib, thanks for not using any bloated libs!

shuding commented 1 year ago

Sounds great, happy to accept a PR :)

spcbfr commented 1 year ago

@shuding any updates on this?

codeagencybe commented 6 months ago

@bitslip6 Also interested to know about this. Would like to apply a different color for office locations vs client locations. Did you manage to get something working?