开发者

Changing texture brightness on Android in Opengl-es

Firstly I must say I'm green as grass in opengl subject.

I'm writing simple 2-d game for android using opengl-es. I use GL11Ext.glDrawTexfOES() to draw the textures (just like in one sample code named 'sprite-method-test'), and gl.glColor4f to color them (and set transparency). But I'm completely helpless if I need apply some bri开发者_C百科ghtness or contrast to the rendering texture.

I really appreciate any help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜