Projection is not working when cutting particular area from top and bottom of openGL control
- 阅读更多 关于 Projection is not working when cutting particular area from top and bottom of openGL control
问题 With the help of this link i can apply projection on my texture. Now I want to cut/remove equal area from top and bottom of my glcontrol and then need to apply same projection on remain area. I have tried like below. But as shown in the image top and bottom curve is missing on projection. How can I bring it back in remain area? precision highp float; uniform sampler2D sTexture; varying vec2 vTexCoord; void main() { float img_h_px = 432.0; // height of the image in pixel float area_h_px = 39.0