Feral Heart

Help & Guidance => Game Help => Topic started by: Crusoe on July 16, 2016, 01:59:48 am

Title: Bump mapping for textures?
Post by: Crusoe on July 16, 2016, 01:59:48 am
Hello everyone. I am curious, but how can one use bump maps for textures in FH?
Title: Re: Bump mapping for textures?
Post by: Bloo. on July 16, 2016, 03:11:43 am
Unfortunately bump maps don't work for FH, they'd just appear flat within the game. The only way to give a bumpy look to the terrain is by manually creating the bumps on the heightmap.

If I'm wrong, don't quote me haha
Title: Re: Bump mapping for textures?
Post by: Ruby1234 on July 16, 2016, 03:19:12 am
You'd have to manually add .programs and .cgs, the like, probably a bunch of new materials and whatnot for that sort of thing to even begin to work. And to even create the bumpmaps... there might be plugins for GIMP.
Title: Re: Bump mapping for textures?
Post by: Crusoe on July 16, 2016, 03:26:47 am
No, no. I already have the bump maps created. I'm just curious as to how I could get them to work with FH. I'm assuming it has something to do with making .material files.

@Bloo No, no. I'm not talking about actual MAPS. I'm talking about bump mapping which is a technique used in game engines to simulate bumps, wrinkles, and things like that in textures.
Title: Re: Bump mapping for textures?
Post by: Bloo. on July 16, 2016, 04:06:07 am
No, no. I already have the bump maps created. I'm just curious as to how I could get them to work with FH. I'm assuming it has something to do with making .material files.

@Bloo No, no. I'm not talking about actual MAPS. I'm talking about bump mapping which is a technique used in game engines to simulate bumps, wrinkles, and things like that in textures.

I read it right haha, but what texture would you be using it for? I thought you were referring to using bump maps as a terrain texture.
Title: Re: Bump mapping for textures?
Post by: Alphabet on July 16, 2016, 10:22:14 am
Normal AO Specular Mapping Shader for OGRE (http://ogre3d.org/tikiwiki/tiki-index.php?page=Normal+AO+Specular+Mapping+Shader)

You'll need to install the .cg and .program codes in the game files, preferably in the media/materials folder. The link above provides those and the .material codes you'll need for the models you want to put the bump maps on.

I haven't tested this, but hopefully it works for you.
Title: Re: Bump mapping for textures?
Post by: Ruby1234 on July 16, 2016, 04:23:06 pm
http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Shaders&structure=Cookbook

There are multiple shaders that will achieve the bump/normal mapping, you'll have to see which one looks best for you. This link leads to the shader database, just look for "Normal" or "Bump," since normal mapping and bump mapping are basically the same.

Some extra info here too:
http://www.ogre3d.org/tikiwiki/BumpMapping
Title: Re: Bump mapping for textures?
Post by: Crusoe on July 17, 2016, 04:23:38 pm
@Bloo I'm planning to use it on a stone texture.