, ladies and gentlemen, I'd like to open a picture through single document, and then according to the grey value in this figure drawing a 3 d figure of similar mountain valley (such as 255 peaks, 0 is the valley), but the actual operation have no direction, baidu also failed, to help you requested
CodePudding user response:
In the vertex shader read the texture of the gray level, based on the coordinate of the gray scale