Page 1 of 1
Bump Mapping

Posted:
Mon Sep 02, 2013 14:44
by jojoa1997
How do I make bump map Textures. Is there a way to do it in gimp or do I have to make them by hand.

Posted:
Mon Sep 02, 2013 15:14
by philipbenr
You can do it in gimp. or in 0.4.8 when it comes out if it has the feature.

look at that. from a scaled and smoothed desert stone to the chunky stone you might see in reality
[spoiler=how 2 in gimp]




[/spoiler]

Posted:
Mon Sep 02, 2013 15:41
by jojoa1997
Oh cool. So how do I get the picture to be red and blue?

Posted:
Mon Sep 02, 2013 15:52
by philipbenr
???
Do you mean how to make an image one certain color?
could you tell me what you mean?

Posted:
Mon Sep 02, 2013 16:00
by jojoa1997
Bump mapping in minetest needs blue and red images. Red for elevated and blue for de-elwvated areas. Look at texture packs with bump mapping and you will see what I mean.

Posted:
Mon Sep 02, 2013 16:34
by Mito551
jojoa1997 wrote:Bump mapping in minetest needs blue and red images. Red for elevated and blue for de-elwvated areas. Look at texture packs with bump mapping and you will see what I mean.
these are called normals.

Posted:
Mon Sep 02, 2013 16:54
by philipbenr
I will look into it. :)
I didn't know what you meant at first.

Posted:
Mon Sep 02, 2013 17:20
by VanessaE
The colors in a normal map refer to the relative change in elevation from one pixel to the next.
The pixel's green channel (as in RGB) is used for the Y axis, red for the X axis, and blue for the Z axis (depth). This allows a normalmap to store three independent vectors for each pixel. This is also why they have to be PNG or some other lossless format - the channels must not blur/blend together, as would happen with a JPG image.