Jump to content

normal mapping


Elmar
 Share

Recommended Posts

you need to have a seperate texture file with the normal man usually named same-as-texture(+dot3).file-extension. Your model needs a .mat file, this .mat file loads the texture information. Good luck :)

 

Ill try to explain further at a later time, already late for work! :P

Win7: 3.4GHz i7, 16Gb RAM DDR3, Radeon HD 6970 2048MB

Link to comment
Share on other sites

mmm Do you need to create normal map texture or just let it load on your mesh?

If you need to create normal map textures there are few ways:

 

You could use Xnormal (but you'll need a low poly model and a high ppoly model)

You could create normal map directly on textures and so you'll need photoshop (i think you could also use gimp) and the plugin from nvidia.

 

If you just need to add your normal to your model you can use the material editor as other user already suggested.

Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10.

Link to comment
Share on other sites

Ok, but how can i create it with material editor? Are there ani documentation about it?

I don't think to understand.. Could you explain us what you wanna create from material editor?

Material editor simply create a mat file (wich is a txt file) and write some line of code, that's all.

If the question is can i create Normal map texture from material editor, the answer is no.

 

To create a mat file (wich contains the normal map) you should select your texture 0 as diffuse, texture 1 as normal, go on shader and select mesh_diffuse_bumpmap.vert and mesh_diffuse_bumpmap_specular.frag .

Intel Corei7-6700, NVIDIA GeForce GTX 980, 32GB DDR4, W-10.

Link to comment
Share on other sites

Use photoshop or gimp ( which is free ) to make normal maps. There are plugins for both available.

If you have a texture called "wood.dds" for example call its normal map "wooddot3.dds"

When your texture is loaded into your program ts normal map will be loaded automaticaly. Then you need to make a mat file. You can do this with genmat. Place a copy of genmat into your material folder, where the texture is and double click on it.

Genmat is in the tools folder.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Link to comment
Share on other sites

or crazybump great programe and very cheap and is very easy to use and it can save you a lot of time i can assure you ;)

 

check it out B)

crazybump

the real world is in my head

CPU-Intel® Core2 Quad CPU Q6600 @ 2.40GHz

CPU Speed 2.40 GHz

RAM 3.5 GB

OS Microsoft Windows XP Professional (Build Service Pack 32600)

Video Card GeForce 8800 GT

Video Card Features-

*Video RAM 512.0 MB

Video RAM 256 MB 512.0 MB

Hardware T&L Yes

Pixel Shader version 3.0

Vertex Shader version 3.0

using:leadwerks2.3,2

[ dreamhead.png

Link to comment
Share on other sites

I think my problem is larger. I have an object and texture file in dds format. And i want to set this texture to my object as normal map. Suppose i create mat file. What i must do with this .mat file? I can set to object only dds files and only in 3d max..

Link to comment
Share on other sites

You need to set your material file name in your 3d app before you export.

The content of this .mat file should be somethig like this:

 

texture0="abstract::YOUR-DIFFUSE-TEXTURE.dds"
clamp0=0,0,0
texture1="abstract::YOUR-NORMALMAP-TEXTURE.dds"
clamp1=0,0,0
blend=0
depthmask=1
depthtest=1
overlay=0
zsort=0
cullface=1
castshadows=1
specular=1.0     // Specular
bumpscale=1.0   // Normalmap strenght
gloss=0.700000000
shader="abstract::mesh_diffuse_bumpmap.vert","abstract::mesh_diffuse_bumpmap_specular.frag"  // Shaders
shadowshader="abstract::mesh_shadow.vert","abstract::mesh_shadow.frag"

Pure3d Visualizations Germany - digital essences

AAA 3D Model Shop specialized on nature and environments

Link to comment
Share on other sites

or crazybump great programe and very cheap and is very easy to use and it can save you a lot of time i can assure you ;)

 

check it out B)

crazybump

 

 

 

Or ShaderMap Pro which is far more reasonably priced.

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

I dont have Max but I am pretty sure you can use Leadwerks .mat files in it. if thats what you are trying to do.

 

 

EDIT: sorry typo should have read.

 

I dont have Max but I am pretty sure you cant use Leadwerks .mat files in it. if thats what you are trying to do.

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

I am pretty sure you cant use Leadwerks .mat files in it.

 

Thats what that should have read, sorry typo.

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...