Page 1 of 1

Information I Found Concerning Bump Mapping (Normals)

PostPosted: Sat Jul 06, 2013 21:58
by Inocudom
I looked around on YouTube today and found a few good sources of information concerning how to do bump mapping. The links to them are below.
http://www.youtube.com/watch?v=ZvMbXUuq8UY - Normal maps for 2D based textures and tools
http://www.youtube.com/watch?v=rOvd5zBicKc - How to Make a Normal Map for Minecraft
http://www.youtube.com/watch?v=8Jdo3ZmtPWk - GIMP Tutorial
http://www.youtube.com/watch?v=wfsrBIZ9iOg - Gimp Normal Map Plugin
If you don't already know this, RealBadAngel added bump mapping support to the current development version of Minetest. In order for textures to be able to make use of the bump mapping feature, they must have normal.png files associated with them. The videos above show how those can be made.

PostPosted: Sun Jul 07, 2013 01:39
by VanessaE
There is a script included with the normalmapping code (or there was supposed to be anyway) that, with the help of The GIMP, will automatically generate normalmaps, given the appropriate parameters (there is help/usage info available).

PostPosted: Sun Jul 07, 2013 16:45
by Casimir
Tell me if I did everything right.
First I created a normalmap named default_grass_normal.png and put it in the same directory as default_grass.png. Then used the latest git of minetest then set enable_shaders = true and enable_bumpmapping = true in minetest.conf.
When starting the game I have neither shaders nor bumpmaps.

PostPosted: Sun Jul 07, 2013 16:47
by Inocudom
Casimir wrote:Tell me if I did everything right.
First I created a normalmap named default_grass_normal.png and put it in the same directory as default_grass.png. Then used the latest git of minetest then set enable_shaders = true and enable_bumpmapping = true in minetest.conf.
When starting the game I have neither shaders nor bumpmaps.


Try enable_shaders = 2. That should do the trick.

PostPosted: Sun Jul 07, 2013 17:48
by Mito551
Inocudom wrote:
Casimir wrote:Tell me if I did everything right.
First I created a normalmap named default_grass_normal.png and put it in the same directory as default_grass.png. Then used the latest git of minetest then set enable_shaders = true and enable_bumpmapping = true in minetest.conf.
When starting the game I have neither shaders nor bumpmaps.


Try enable_shaders = 2. That should do the trick.


black textures. and my drivers are up to date and my card is new (gtx 600 series)

PostPosted: Sun Jul 07, 2013 18:01
by Mito551
FORGET THAT. i got it working on a different build, but it looks horrible as shit. it works good only for high-res texpacks.
Image

PostPosted: Sun Jul 07, 2013 18:27
by Inocudom
It might look better with a 32px or 64px texture pack that supports bump mapping (VanessaE's texture packs are a good way to perform such testing.)

PostPosted: Sun Jul 07, 2013 18:37
by Mito551

PostPosted: Sun Jul 07, 2013 20:03
by VanessaE
Also, the black textures are a bug somewhere between Minetest and Irrlicht 1.8. Use Irrlicht 1.7.x and it'll work fine.

PostPosted: Sun Jul 07, 2013 20:04
by Mito551
VanessaE wrote:Also, the black textures are a bug somewhere between Minetest and Irrlicht 1.8. Use Irrlicht 1.7.x and it'll work fine.


how would I? (i use windows.)

PostPosted: Sun Jul 07, 2013 20:06
by PilzAdam
Mito551 wrote:
VanessaE wrote:Also, the black textures are a bug somewhere between Minetest and Irrlicht 1.8. Use Irrlicht 1.7.x and it'll work fine.


how would I? (i use windows.)

Use my builds, they use Irrlicht 1.7.2 (IIRC).

PostPosted: Sun Jul 07, 2013 20:30
by Mito551
PilzAdam wrote:
Mito551 wrote:
VanessaE wrote:Also, the black textures are a bug somewhere between Minetest and Irrlicht 1.8. Use Irrlicht 1.7.x and it'll work fine.


how would I? (i use windows.)

Use my builds, they use Irrlicht 1.7.2 (IIRC).


thanks!