Hello
I am trying to fix the Bump Map set up for my editor. Am using software renderer, currently the object's texture is set up using the setTexture(Texture t) method. Afterwards I have an option to browse for a normal map file and then this is how I am applying it, following the instructions on the JavaDoc that say to enable environment map first:
obj.setBumpmapped(Object3D.BUMPMAPPING_ENABLED);
obj.setEnvmapped(Object3D.ENVMAP_ENABLED);
obj.setEnvmapDirection(Object3D.ENVMAP_YZ);
obj.setBumpmapTexture(bumpTextName);
But this is the result I get:
The bottom image is the result in JPCT.... it's actually more brownish, i got this screenshot from using a different texture but same bump.... the resolution of both textures is 256x256....
Am I doing something wrong? Thank you very much