Hello and happy new bla bla bla, 21 already looking bleak so I return to AppGameKit land for some escape!
I have a sphere (a planet) and I place small buildings on the planet (intersect + normal) which works great, some of the building are mining buildings and are resource dependant, this is where I'm stuck and fishing for ideas
I basically want to map the surface of the sphere but am unsure how to go about it, can this be done in memblocks, I was thinking I could paint a resource map as a texture (red for hi resources and shade down or different color for different resources and then have a shader read the color value of that location on texture and return it to AGK.......
Or whats with vertex colors, can I paint the vertex color in blender and read it back in AppGameKit?
I thin k I would probably need to blend the resource map texture over the top of the planet texture to turn resource mapping on/off for some visual candy
So my idea is when I mouse over the planet with a mining building selected a lil readout tells me how much resource per hour I can mine based off the density of the resource patch (color under cursor, nearest vertex color, shader reading texture color or some other system I have not thought of?)
Any ideas/suggestions?, am I overthinking a simple solution or is this really as tricky to do as I imagine it will be?
FYI: game will have 100's of planets, it would be nice to set them up programmatically and not have to paint anything in anyapp,, just set some boundaries and generate the resource map with some degree of randomness, so maybe a non image based approach is best, I just need a bit of a shove in the right direction.