Temechon Posted November 5, 2013 Share Posted November 5, 2013 Hi, I am facing an issue with a model exported from Blender (with the last exporter version 1.6.0) : http://imgur.com/a/EWGcZ The first image is the image I have with BabylonJs, the second one is my model on Blender. You can see the chocolate envelop is not transparent with Blender. Do you know where the problem could come from ? All my textures are in PNG format, and I use textures ID instead of a whole unwrapped texture. I can upload my model and/or textures if needed. Thanks ! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 5, 2013 Share Posted November 5, 2013 I suggest you to use .jpg instead of .png when you don't want transparency Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 6, 2013 Author Share Posted November 6, 2013 Thank you for your answer.However, I want some transparency here (for the top of the paper, but not for the bottom).I will try to use a jpg, but I don't think i will have the same effect. Anyway, do you know why the brown paper appears transparent in my babylon model ? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 6, 2013 Share Posted November 6, 2013 I will need to get your blender file to go further Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 6, 2013 Author Share Posted November 6, 2013 Here is the blender file with all its assets : https://dl.dropboxusercontent.com/u/17799537/choco.zip Thank you for your time ! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 7, 2013 Share Posted November 7, 2013 It was an epic fight:) The issue comes from your materials. You have many textures like bump or ambient on your paper's material. You should only keep a diffuse texture in this case because babylon.js detect them and uses them (in this case the ambient texture generate a black and transparent color where the paper is) Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 7, 2013 Author Share Posted November 7, 2013 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.