开发者

Changing texture brightness on Android in Opengl-es

开发者 https://www.devze.com 2022-12-31 05:19 出处:网络
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 na

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

精彩评论

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