Jump to content

Inverting a Normal Map


You are about to reply to a thread that has been inactive for 1343 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I did a quick coin-thing today, a prim with normal maps. Nothing all that fancy, but one of the normal maps was showing the high parts of the surface as low. Can you invert a normal map?

Yes you can. I use the GIMP

1250097737_10pencenormal_crop.jpg.b3fa2716818bd42bbba368110b173ed3.jpg

Go to the Colours menu and pick Curves. It shows this graph, a line from bottom left to top right. Leave the Blue channel alone, but change Red and Green, line from top left to bottom right. You just have to drag the end markers.

Screenshot_2020-08-20_00-33-39.png.fa6e33bf363c7344172f949835d2b085.png

OK, maybe some normal maps are wrong for SL in other ways. In this case I got this result.

31864940_10pencenormal_crop_Invert.jpg.a3f64673d4358e769120250cf408611e.jpg

There are various ways to get from a height map to a normal map, plug-ins or websites. These two images may help you figure out if the generated Normal map is right for SL. You could just use whatever height option your creation tool has. But that's not an choice if you download a freebie.

If you use Photoshop there's almost certainly a way to doing the same. There may be another way of doing it in the GIMP. But this makes it pretty clear what you need to do.

  • Thanks 2
Link to comment
Share on other sites

You definitely want "up" slopes (away from the surface and toward the camera) to be green on top and red on the right. Look at this experiment. The sun is directly overhead.

The top right sphere (relative to the ^ arrow) looks properly raised. The bottom left is properly sunk. The other two have the highlight 90° off from a realistic direction.

fournorms.jpg

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1343 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...