Normal mapped objects appear black with directional light


#1

Capture
If I take off the normal map, the object will render, otherwise it is invisible.(Only when using Directional light)
Any ideas on why?
Above is what it should look like


#2

Does your object have tangents or did you generate tangents?

Did you do the JME tutorials? It’s like one by one you are asking every newb question in order… and I feel like a lot of this is covered by the tutorials.


#3

I dont thinks so


#4

you would need prepare testcase for us. thanks. also like told above, try generate tangents


#5

Normal maps won’t work without tangents. That’s just the long and the short of it.

Really surprised if this isn’t covered in the tutorials.


#6

https://wiki.jmonkeyengine.org/jme3/beginner/hello_material.html#shininess-and-bumpiness


#7

That’s what i found, but it dosent say anything about tangents.


#8

It kinda does…


#9

The wiki is essential reading. I know it’s a ton of material to digest and it takes time away from what you want to do but in the long run you will be better off for doing so.

I use it every day myself. I still miss a lot because there is so much to learn.

It’s easier to just bookmark the main wiki page until a navigation menu is added.


#10

sorry, i have the PDF on my computer and it isn’t organised as well, I get the main pieces of information out of it, but sometimes I end up missing something.
Thank you for your time, I’ll try to read the wiki better next time.