1
Support / Re: Texturing problem
« on: April 27, 2010, 06:48:30 pm »
FIXED:
Works fine. JPCT is so cool
I got another question... What about directional lighting?
I mean without shadows. Just global object shading, the same effect that the point lights create.
Code: [Select]
private final String[] tName = { "glass01", "roof01", "stone03", "wall01", "wood01" };
tManager = TextureManager.getInstance();
for( int i = 0; i < tName.length; i++ ) {
tManager.addTexture( tName[i]+".png", new Texture( "models/map/"+tName[i]+".png" ) );
}
Works fine. JPCT is so cool
I got another question... What about directional lighting?
I mean without shadows. Just global object shading, the same effect that the point lights create.