Two questions regarding TextureInfo

Started by nlotz, October 07, 2010, 09:38:56 PM

Previous topic - Next topic

nlotz

Is there a way to set the glBlendFunc when using blending with TextureInfo? Something like:

texInfo.addWithBlendFunc(texId, GL11.GL_SRC_ALPHA, GL11.GL_ONE);

Also I'd like to know if there is a way to modify the texture coordinates of a mesh for each stage of multi texture rendering.

Thanks in advance and a huge thanks for jPCT!

EgonOlsen

No, there's no way to set it directly and yes, you can modify it. Have a look at the PolygonManager.

nlotz

That was fast, thanks. I really need to look at how transparency and blending work in jPCT...