KevinBLT Posted October 16, 2015 Share Posted October 16, 2015 Hello fellow 3d engineers! I've become a little bit cursious about how bump maps work together with shadow. I am still working on the configurator wor wooden constructions.I wanted to give a the wood a bit more plasticity by adding a bump map. I think I've understood how to design the bump map properbly, but not why the shadow is hidden, when looking from different angles of view. Could someone explain this and help me? Thanks! Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted October 16, 2015 Share Posted October 16, 2015 The normal map (called bump map in BABYLON) perturbs the normal vector of the face, so most of it should be 128,128,255 in rgb (no perturbance, normal points upwards from mesh surface).The shadow shows a little bit on the right side, so it could be a normal problem. Or the face gets too much specular light...(Just an idea.) Quote Link to comment Share on other sites More sharing options...
KevinBLT Posted October 20, 2015 Author Share Posted October 20, 2015 Okay.So I always used something like grey images for the normal/bump map. So which "colors" should the normal map have for which effect? In this case, I just want to get the planks lightened normally and the grooves to look a bit "deeper", if you understand. Thank you! Quote Link to comment Share on other sites More sharing options...
iiceman Posted October 20, 2015 Share Posted October 20, 2015 This tool here makes normal maps: http://cpetry.github.io/NormalMap-Online/ They are not perfect, but you can get a feeling for the color scheme, I guess Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted October 20, 2015 Share Posted October 20, 2015 The easiest is to use a normal map generator, it makes the normal map from displacement grayscale map (0=low 255=high bump): http://cpetry.github.io/NormalMap-Online/ Quote Link to comment Share on other sites More sharing options...
BitOfGold Posted October 20, 2015 Share Posted October 20, 2015 You were faster by a few seconds Quote Link to comment Share on other sites More sharing options...
KevinBLT Posted October 21, 2015 Author Share Posted October 21, 2015 Ah men. This looks super fantastic!I had no idea! I will try and share my results!Thank you! :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.