bump texture

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
aiman
Posts: 19
Joined: Thu Nov 06, 2014 5:04 pm

bump texture

Post by aiman »

what is bump texture???
how can do it ????????
Asimov
Posts: 246
Joined: Thu Dec 04, 2014 7:41 pm
Contact:

Re: bump texture

Post by Asimov »

Hi aiman ,

A bump texture is a monochome image which simulatess bumps on the top of a surface.
It uses shades of grey, white and black. White being the highest point, and black being the lowest point.
You can easily make these in photoshop or any other 2D art package.

However bump maps do not actually change the shape of geometry so from certain angles they can still look flat.
The bump map basically simulates the way light hits an object to create an illustion of a bump.

However for many years now games have been using normalmaps. These are special bump maps which are a purple colour, and these perform much better than bumpmaps.
These can be created by baking a high resolution model down to a low resolution model, or by creating a map using the nvidia plugin for photoshop.

Normalmaps work much better than bump maps because they catch the light in 3d space and actually do look like they are changing the shape of the geometry.

You also have displacement maps which actually change the shape of the model, but these are more processor intensive and should be avoided in games.
aiman
Posts: 19
Joined: Thu Nov 06, 2014 5:04 pm

Re: bump texture

Post by aiman »

Thank you
but in irrlicht how can use bump texture ?
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: bump texture

Post by mongoose7 »

If you've created a model in a modelling package, just export it and import it into Irrlicht. If you want to to set it on a model already in Irrlicht, you can't, you need to convert it into a normal map. If your model is in the OBJ format, you can set a bump map in the MTL file.
Post Reply