I think I’m doing something wrong. I have a diffuseMap texture and then created a normal map texture. but inside the game, I see no difference. It is displayed on a Quad, if that helps.
Inside game with normals assigned to the material.
Any ideas. Inside the SDK, if I create a scene and place a quad in the scene and assign the material to it, it will reflect normals at those angles. So I’m thinking I did something to prevent it or turned it off.
Using the Common shading shader that come with JME 3.4
Is there any chance you also have an AmbientLight in your scene?
Having too bright of an ambient light can diminish the effects of a normal map when using Lighting.j3md, since the ambient light applies its light to every pixel evenly, regardless of the pixel’s final normal value.
But it’s also true that if you don’t have tangents then normal maps will either not work at all or randomly work in strange ways depending on the direction of the quad and the graphics card.
Note also that your normal maps will show up better if you remove the shading from your diffuse map. Right now there are already shadows built into your diffuse map so the normal mapping will always fight with that.