No normal mapping, no per-pixel lighting ... why?

Hi buddies



I´ve downloaded Jme3 last week and updated all plugins. I in a windows7-64 and Nvidia GTX 560 - latest drivers and etc. I´m studying Tutorial 6 - Materials, my code is a clone in this lesson. When i run my rock has no normal map effect applied :|. What´s the problem?



I check my graphical capabilities in Help > Check Graphics Capabilitiies. There´s the output:



Graphics Capabilities


FrameBuffer
FrameBufferMRT
FrameBufferMultisample
TextureMultisample
OpenGL20
OpenGL21
OpenGL30
OpenGL31
OpenGL32
ARBprogram
GLSL100
GLSL110
GLSL120
GLSL130
GLSL140
GLSL150
VertexTextureFetch
TextureArray
TextureBuffer
FloatTexture
FloatColorBuffer
FloatDepthBuffer
PackedFloatTexture
SharedExponentTexture
PackedFloatColorBuffer
TextureCompressionLATC
NonPowerOfTwoTextures
MeshInstancing
VertexBufferArray
PackedDepthStencilBuffer

It must be worked no? I write and rewrite this code ... i copy paste it from tutorial 6 and same result :(
I´ve same problem in tutorial 3 - Hello Assets. The ninja seems no shader at all.
Please help :|

Perhaps you’re running in OpenGL1 mode? Can you post a screenshot of the issue?

That´s it buddie.

http://i.imgur.com/3ToFg.png



OpenGL 1 is the default mode?

Thanx

I see in Tools >> Options >> OpenGL if OpenGL1 is enabled, and it´s not. Either the Heavyweight Canvas.

Still in this point i include in my main code:



app=new Tutorial6();
AppSettings settings=new AppSettings(true);
settings.setRenderer(AppSettings.LWJGL_OPENGL2);
app.setSettings(settings);
app.start();


And that´s the result:



yessss it work´s :D
But the question is how to enable, at least, OpenGL 2 as default renderer?
Thanx Momoko

latest driver of the card manufacturer?

@Normen: this isn’t related to video cards.



@redmonkey: I don’t know why it happened. It seems like you have had some other application enable OpenGL1 mode and that has leaked onto the other apps that use the same config.

@normen : i already did this :slight_smile:

@Momoko_Fan : Yes … this can be true. I try to see config files, but there´s a universe of them and i´ve no lucky. Off course, i can live with a super class who´s configure AppSettings … but will be nice if i can change the default render in some external place. If not, no problem … show must goes on :smiley:



Thanx 4 help