@edapx wrote:
Hello, I want to make a terrain in 3D with a closed path on which the camera will move.
My idea is the following:
1) draw a closed path using ofPolyline.
2)Save this path in a texture
3)Pass the texture to a shader. Each pixel will have different color and heights based on how far is it from the the pixels that compose the path.My question is, how can I pass the position of the vertices that compose the ofPolyline to a texture?
Posts: 1
Participants: 1