Direct Texture color array manipulation.

Started by icarusfactor, April 04, 2011, 06:03:20 AM

Previous topic - Next topic

icarusfactor

The process i have been using has worked fine until now for text manipulation, I think I can get more umph out of what I got, but is a long process, I was wondering if ITextureEffect is what I need instead, at least for overlay text. With the "apply" option can I directly write to a Texture color array pixels? If so can you post a simple example of how to use this method.

Thomas.

Egon, could you add texture.getArray() method?

EgonOlsen

No, that's what the ITextureEffect is meant for. If you can't find an example in the forum, have a look at the Robombs sources. It uses some ITextureEffects for preprocessing textures.

icarusfactor

Ok, downloaded it from here. http://jpct.de/robombs.game/ will look through it and see what I can come up with , thanks.