Page 1 of 1

Bump Mapping

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

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

Image

look at that. from a scaled and smoothed desert stone to the chunky stone you might see in reality

[spoiler=how 2 in gimp]
Image

Image

Image

Image
[/spoiler]

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

PostPosted: 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?

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

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

PostPosted: Mon Sep 02, 2013 16:54
by philipbenr
I will look into it. :)

I didn't know what you meant at first.

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