So far im stuck, i can't find a decent mathematical algorithm to transform the terrain, vertex by vertex, into a sphere
i've been googling this, non stop
"how transform 2d plane to sphere" "mapping terrain on a sphere"(...) i've searched in many different ways and i can't get anywhere. Im stuck now and if anyone here could help me with this algorithm i'd appreciate it a lot
i don't want to work with those shader techniques, for now i want only to use ent_getvertex and ent_setvertex to change each vertex's position
now, how do i turn a "flat" terrain, into a round sphere, vertice by vertice?
thanks in advance