Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 months ago.
尝试添加“glColor3f(1,1,1);” 在你的“drawmytex”函数中。 我怀疑您的纹理是用当前颜色调制(相乘)的,如果是这样,问题不在于纹理副本,而在于您显示它的方式。
Try adding 'glColor3f(1,1,1);' in your 'drawmytex' function. I suspect that your texture is modulated (multiplied) with the current color, if so, the problem is not the texture copy but the way you display it.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
尝试添加“glColor3f(1,1,1);” 在你的“drawmytex”函数中。 我怀疑您的纹理是用当前颜色调制(相乘)的,如果是这样,问题不在于纹理副本,而在于您显示它的方式。
Try adding 'glColor3f(1,1,1);' in your 'drawmytex' function. I suspect that your texture is modulated (multiplied) with the current color, if so, the problem is not the texture copy but the way you display it.