www.jpct.net
jPCT - a 3d engine for Java => Support => Topic started by: nlotz on October 07, 2010, 09:38:56 pm
-
Is there a way to set the glBlendFunc (http://pyopengl.sourceforge.net/documentation/manual/glBlendFunc.3G.html) 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!
-
No, there's no way to set it directly and yes, you can modify it. Have a look at the PolygonManager.
-
That was fast, thanks. I really need to look at how transparency and blending work in jPCT...