Jump to content

Normal map problem


YouGroove
 Share

Recommended Posts

Post files? Recalculating the normals will take an educated guess at what it should look like, but will never be 100% accurate for a complex model.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Thanks, i tried everything, even every invert.

I finally find it's "bumpiness" that is set to 1, you need to decrease to values like 0.2 or 0.1 in some cases like this one.

 

Other problem is specular that seems to not read my spec map ?

specmap.jpg

Stop toying and make games

Link to comment
Share on other sites

Yeah there is another issue with the shader

 

After

uniform sampler2D texture1;//light map

 

Add

 

uniform sampler2D texture2;//spec map

 

Find

 

vec4 color_specular = materialcolorspecular;

 

Replace it using :

 

vec4 color_specular = materialcolorspecular*texture2D(texture2,ex_texcoords0);

  • Upvote 1

HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB

Link to comment
Share on other sites

In model editor , the model is Y axis mirrored, i can't dezoom also, and material don't drop on it, model stays white color.

Even the ball on material editor don't appear.

 

You have tested it on one model ? (perhaps i done somehting wrong ?)

 

If i put back

 

 

vec4 color_specular = materialcolorspecular;

 

All is back to normal but with full specular only.

Stop toying and make games

Link to comment
Share on other sites

I didn't do a copy/paste of your text , and had ex_textcoords0 instead of ex_texcoords0.

 

It works, but the problem remains, as the model is ok , but full specular.

 

1_normal_map_colors_dither.jpg

And i see another problem like colors that are not smoothed, even if i use a simple dynamic normal map shader without specular ?

 

If i use dynamic diffuse only, colors are flat and ok.

Seems the color problems is more a problem with my normal map ?

Stop toying and make games

Link to comment
Share on other sites

It's easy to see that colours are weird.

Here is painting the low poly model on 3D coat : color for skin simple, is flat good looking not weird or distortion on color.

LE3paint.jpg

 

It must be a problem with my model and textures.

It works bad on another 3D engine.

Stop toying and make games

Link to comment
Share on other sites

ok, 3D Coat layers don't are merged well before export, after merging them manually all was lot more good.

And it's better to export symmetric model directly from 3D Coat in FBX format already mirrored.

 

But full specular problem remains : the shader don't reda the specular map.

specproblem.jpg

 

 

For me it really matters to have specular working, i must be the only one using normal map + spec map on characters or models.

I can put specular map on alpha channel of normal map as it is some 3D coat export option also.

Just wishes LE3 to be able to work with specular maps.

Stop toying and make games

Link to comment
Share on other sites

we are not lof of 3D artists here, this is more programmers heaven laugh.png

 

Anyway, for people using 3D Coat :

Don't keep 3D Coat normal map calculation and export in 3D coat format (strange format ...)

Choose in 3D Coat Preferences : Maya the two normal map parameters

 

http://www.leadwerks.com/werkspace/topic/7305-3d-coat-normal-map-settings/

 

 

Even without specular map the result is now lot better, even normal map effect is same now as 3D coat viewport.

 

For the model i'll use normal map only for now, and see if i can attach easyly or not by code some shiny objects ?

Stop toying and make games

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