Jump to content

Normal Map rendering problems


SmokingCloud
 Share

Recommended Posts

Hello guys.

 

I'm having some problems with normal map and getting them rendered properly in the LE editor.

I think i'm doing something wrong with the shaders but after screwing arround with different shaders for 2 days and trying different solutions found in forum topics about normal map problems, I'm still at the same place as I started.

 

So i've used some old tutorial dice to show my problem and hopefully some1 here knows where i'm screwing things up :blink:

 

The normal map is rendered the way is should be in 3ds max and the LE materialeditor.

 

max render without proper textures :

cubenontexmaxrender.th.jpg

 

max render with the textures :

cubemaxrender.th.jpg

 

screenshot of the material editor, notice how even in the shade the normal map is displaying correct as it has to be :

mateditorexample.th.jpg

 

My problem comes when I look at the model in the LE modelviewer or the LE Editor, the normal map are than only being

renderd properly in the direct light, any part of the normal map that is in the shade or not being lighted directly is not renderd and displayed as a flat surface.

 

screenshot of the modelviewer, notice how the shaded side isn't being renderd as it should be.

modelvieuwerexample.th.jpg

 

and in the editor it looks the same as in the modelviewer, only the surface thats lighted directly renders the normal map, shaded sides appear flat.

 

Like I said I think I'm srewing it up somewhere with the shaders, tbh I'm a LE shader noob so to say and still find it difficult to find my way true all the shaders.

 

The best result so far I'm getting with these .mat file settings :

 

texture0="abstract::cube_tex.dds"

texture1="abstract::cube_dot3.dds"

texture2="abstract::cube_disp.dds"

 

shader="abstract::mesh_diffuse_bumpmap_parallax.vert","abstract::mesh_diffuse_bumpmap_parallax.frag"

shadowshader="abstract::mesh_shadow.vert"

 

and here are the .dss files I'm using for this dice :

cubediff.th.jpg

cubedisp.th.jpg

cubedot3.th.jpg

 

I hope some1 here can point me in the right direction and help me solve this little problem.

Many thanks in advance.

"Take me to your leader than I'll tell you if I come in peace"

 

Sick Since

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...