Information I Found Concerning Bump Mapping (Normals)

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Information I Found Concerning Bump Mapping (Normals)

by Inocudom » Sat Jul 06, 2013 21:58

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.
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sun Jul 07, 2013 01:39

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).
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

by Casimir » Sun Jul 07, 2013 16:45

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.
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sun Jul 07, 2013 16:47

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.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Sun Jul 07, 2013 17:48

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)
Last edited by Mito551 on Sun Jul 07, 2013 17:49, edited 1 time in total.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Sun Jul 07, 2013 18:01

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
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sun Jul 07, 2013 18:27

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.)
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Sun Jul 07, 2013 18:37

 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Sun Jul 07, 2013 20:03

Also, the black textures are a bug somewhere between Minetest and Irrlicht 1.8. Use Irrlicht 1.7.x and it'll work fine.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Sun Jul 07, 2013 20:04

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.)
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sun Jul 07, 2013 20:06

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).
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Sun Jul 07, 2013 20:30

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!
 


Return to Minetest Features

Who is online

Users browsing this forum: Bing [Bot] and 8 guests

cron