normalmap seems not to work for me

normalmap seems not to work for me

Postby rubberduck » 07 Oct 2013, 21:11

i see that in my objects normalmap don't work, what i am doing wrong?

i used the same material as the other stone rock_n2 (i added a material named rock_n2 to my stone)
i also found out that i don't have a normalmap-effect on any other self-added objects.
Attachments
no_normalmap.jpg
https://notabug.org/rbduck/Nucleagacy
my puzzle / action game in godot 4
User avatar
rubberduck
 
Posts: 910
Joined: 23 Apr 2013, 18:31
Location: sitting with tux in a bathtub

Re: normalmap seems not to work for me

Postby CryHam » 07 Oct 2013, 21:42

Ah. This is because of missing tangents in mesh.
I actually had a problem with it, even with enabled tangents in Blender Ogre exporter options, it wasn't there.
Because of that, I use OgreXmlConverter to convert the exported .mesh to .mesh.xml and then again to convert it back to .mesh but with -t -e options (add tangents and no edges list).
User avatar
CryHam
SR Moderator
 
Posts: 1047
Joined: 25 Nov 2012, 08:40

Re: normalmap seems not to work for me

Postby rubberduck » 08 Oct 2013, 14:45

could i use the mesh.xml file that is generated by the normal exporter
and where is the ogreXmlConverter
https://notabug.org/rbduck/Nucleagacy
my puzzle / action game in godot 4
User avatar
rubberduck
 
Posts: 910
Joined: 23 Apr 2013, 18:31
Location: sitting with tux in a bathtub

Re: normalmap seems not to work for me

Postby Tapio » 08 Oct 2013, 17:04

rubberduck {l Wrote}:where is the ogreXmlConverter

If you are using Ubuntu ogre packages, install "ogre-1.8-tools". If you have built ogre yourself, it should be installed to the prefix you installed ogre, /usr/local/bin by default. Note that since case matter on linux, the exact executable name is OgreXMLConverter.
User avatar
Tapio
 
Posts: 30
Joined: 26 Nov 2012, 08:10

Who is online

Users browsing this forum: No registered users and 1 guest