-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Matteo Sisti Sette wrote:
Ohhhhhhh, ok!!!
[env ( is the way the texture blends with the color of the survace (i.e. the one set by [color])!!!
ah right. that answer was late at night...
That's useless to my purpose: by blending mode I meant the way the object (with its resulting color however it results from its color and rexture) blends with its background
yep. you should be able to control this on low level with [GEMglBlendFunc] and [GEMglAlphaFunc]
At the end I think I'll use glsl: with a very small and trivial modification to the "multitexture" example I've been able to add/multiply/subtract two textures, so I'll use that to blend a [framebuffer]ed image with another one as textures.
well, if you only want to change the blending between a surface and the background, then you should be able to do this without [gemframebuffer],
but then you would have to re-implement the default fragment shader which is probably not worth it.
i wonder why i miss something like ftransform() for fragment shaders.
fgamr IOhannes
mfasr IOhannes