mop Posted January 17, 2015 Share Posted January 17, 2015 Hi, i am not entirely sure but i think i have found a bug. I am trying to export a simple box with a bump map texture on it. However when using the babylonjs sandbox i cannot see the bump texture :S Did i miss something or did i really hit a bug? BabylonJSBumpMappingProblem.zip Quote Link to comment Share on other sites More sharing options...
gryff Posted January 17, 2015 Share Posted January 17, 2015 Hi mop - welcome to the forum:) The issue you are facing is the rather sloppy use of "bump mapping". You are using a grey scale texture as your "bump map" but in fact babylon and blender use "normal maps" to create the "bump" effect. Check this link for and explanation: "Bump Mapping" Scroll down to "Bump Mapping" and you will see a Normal Map - blue/red colours. You have to use an image like that to produce the effect. Try converting your grey scale image with this online Image Converter. Use the Normal Map you get from the converter in Blender, then export as a .babylon file - should work fine though you may need to tweak the export from the converter to get the effect you want (and watch the specular colour ) cheers, gryff Quote Link to comment Share on other sites More sharing options...
mop Posted January 17, 2015 Author Share Posted January 17, 2015 awesome. works 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.