Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Aramyth
16
Years of Service
User Offline
Joined: 13th Oct 2008
Location:
Posted: 7th May 2009 20:29
Ok, I'm lost on Bump Mapping. Can anyone tell me what sort of texture I need as a bump map? I tried a black and white image, didn't work. Tried a greyscale, did the same. It also keeps displaying white squares a long the texture too.

So how exactly does it work? I've searched this forum, but all the resources are not displayed or have broken links.
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 7th May 2009 20:44
Bump mapping has really been replaced by normal mapping as a standard, these are created as textures based on higher polygon models. At least that's how the pro's do it, it's fairly complex stuff.

Most people just use a converter, using your greyscale image you would create a normal map texture from that, just do a google search for 'bump map to dot3', or 'bump map to normal map' - I expect someone will have a link to a good converter before very long though.

Normal maps use the red green and blue elements of each pixel to control lighting, just like your model has normals, each pixel on your texture can have a normal as well - giving the model a much higher lighting detail.

I suggest you find some normal mapping shader examples, they tend to do a much better job than the built in effect. There's dozens of them, might be best to get the ultimate shader pack to start with. There's some really nice effects made possible with normal maps, refraction for example, and some really nice water effects using the normals to replicate waves.


Health, Ammo, and bacon and eggs!
Aramyth
16
Years of Service
User Offline
Joined: 13th Oct 2008
Location:
Posted: 7th May 2009 21:43
Ok, thanks for the quick reply. I'll check it out.
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 7th May 2009 22:56
You might as well start with the demo I posted here - and make sure you use the fix prompted by Morcilla later in the thread:

Normalmapping for Dark Basic

Login to post a reply

Server time is: 2025-06-09 04:38:09
Your offset time is: 2025-06-09 04:38:09