Create an account

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Normal maps trouble

I'm having some serious issues with normal maps on models. On the screenshot there are 2 identical props, but prop on the right was compiled with force_meta flag, while left one wasn't. Left looks a bit better yet uses vertex lighting, which ain't any good. Right prop uses lightmaps and it went almost completely black. Normal maps on both seem largely "exaggerated" when dynamic light appears near any surface using them. Yet I tried to make those maps as pale and non-contrast as possible, so that I can even barely see any relief on the image. No luck in improving situation so far.


I don't have a clue what's wrong here. Any help please?
Here's a test map and prop with all resources:

:: q3map2 x64 for Windows

Maybe try backing up your config.cfg file and removing it from your home/.xonotic/data (Linux) or My Games/xonotic/data (Windows) directory? I think I had the same issue when I started using the autobuilds, creating a new config file from scratch solved it.

Oh wait.

Tried this now, no effect.
What is even more peculiar, the concrete texture with it's own normalmap on the other side of that prop works just fine.
Can you please take a look at those textures? Maybe there's something I overlooked, or it's a bug that appears only on my PC for some reason.

:: q3map2 x64 for Windows

Ok here it is:

done and done

I also made a gloss map for it, another thing you might look into is smoothing groups for your model.
[Image: foxtrotcproggry.jpg]

Your normalmap looks very wrong to me. It looks more like a bump map to me. if you want to have a "flat" normal map you'd go for a image filled with (R 127, G 127, B 255) (representing a normal pointing directly away from the surface).

The grey normalmap that you use encodes very uncommon normal directions (the rgb-channels most likely don't even encode "true" normals, as the length of the normal vectors don't equal 1, but that may not be a problem for the engine), and most likely the lighting gets up messed up due to that.
How do you create your normalmaps?

Strahlemann, many thanks for linking that article. I think I finally understand how normal maps work.
I got this normal map using .werkkzeug 3 TE "Normal" operator with map type "tangent 2d". Werkkzeug 3 is a procedural texture generation tool available at I've been using it for creating textures for quite a time, yet I don't have much experience of making bump- or normalmaps. Other available types of normal maps are "2d", "3d" and "tangent 3d". After reading about normal maps there I'm not even sure what kind of maps this operator produces.

Here is the screenshot of the whole tool with "tangent 2d" normal map. And here is "tangent 3d" map. Simple 2d and 3d maps are similar to tangent 2d/3d, although they seem to be "turned" in other direction.

I'll attach my texture project file in case you'll want to look at that tool.
Basic controls are "1/2/3" keys when over operator page to add new operators and "S" when any operator is selected to view image at that stage.

TH3FTB0T, thanks for taking a look. It has also clarified to me how a normal map for DP should look. And I think that smoothing groups are unnecessary here, I'm trying to make those shield segments look more sharp and edgy. This will probably need more refinement of their texture.

Attached Files
.zip (Size: 2.5 KB / Downloads: 0)

:: q3map2 x64 for Windows

Another link:
Gooder tut
[Image: foxtrotcproggry.jpg]

Possibly Related Threads...
Thread Author Replies Views Last Post
  Having trouble getting transparent textures to work Notavi 5 698 07-17-2018, 07:39 AM
Last Post: Notavi
  Need more vanilla/competitive CTF maps Antares* 5 1,564 10-18-2017, 05:16 PM
Last Post: Smilecythe
  [Discussion] Tutorial and Training maps -z- 41 17,134 01-28-2016, 07:19 AM
Last Post: Mario
  Nexuiz maps aa 21 10,688 05-09-2014, 10:12 AM
Last Post: aa
  [TLC required] Maps, packs, textures, other stuff in progress I never finished -z- 0 2,421 12-24-2013, 05:08 PM
Last Post: -z-
  qer_normalImage texture: sets the normal map for bump mapping kristus 2 3,867 07-20-2013, 12:50 PM
Last Post: kristus
  Blender .maps not working in NetRadiant commodore256 6 6,258 09-09-2012, 10:36 AM
Last Post: commodore256
  Normal mapping in blender anark10n 4 5,590 06-25-2012, 04:34 AM
Last Post: poVoq
  I would need some help with some UT maps. neXus 10 5,450 04-19-2012, 03:58 AM
Last Post: neXus
  OGZ maps to BSP files Droid 14 12,606 10-04-2011, 08:39 PM
Last Post: mood

Forum Jump:

Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-