Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Two questions regarding TextureInfo
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Two questions regarding TextureInfo (Read 2770 times)
nlotz
byte
Posts: 7
Two questions regarding TextureInfo
«
on:
October 07, 2010, 09:38:56 pm »
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!
Logged
EgonOlsen
Administrator
quad
Posts: 12295
Re: Two questions regarding TextureInfo
«
Reply #1 on:
October 07, 2010, 09:57:47 pm »
No, there's no way to set it directly and yes, you can modify it. Have a look at the PolygonManager.
Logged
nlotz
byte
Posts: 7
Re: Two questions regarding TextureInfo
«
Reply #2 on:
October 07, 2010, 10:04:47 pm »
That was fast, thanks. I really need to look at how transparency and blending work in jPCT...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Two questions regarding TextureInfo