Quantcast
Viewing latest article 9
Browse Latest Browse All 15

Bug in 7.6/7.7? Offscreen-texture + antialiasing + alpha-channel. Screenshot + Sample project included.

Some time ago I tried to describe this problem but I think no one understood me :) english is not my native language. Now I try to show you exactly the same things but now I've created for it a little example :) My goal is to copy a loaded texture from png file to offscreen-texture (which has the same size!) and use it as a texture. Pretty simple, right? :) But my code works like this: ![alt text][1] Do you see the difference? It works like this when I use textures with Alpha-channel. If I use a texture without alpha - all works fine. I've set in my code: ***material->SetAlphaMode( CIwMaterial::ALPHA_BLEND*** ); Why does it work like this? What do I do wrong? [Download sample project here][2] My env is: OS X 10.10.2, XCode 6.2, Marmalade 7.6 (tested), now I have 7.7. [1]: http://oi59.tinypic.com/2nrj213.jpg [2]: /storage/temp/1833-offscreetexturetest.zip

Viewing latest article 9
Browse Latest Browse All 15

Trending Articles