Home › Forums › Graphics / Blender › Material Shows up Black
Tagged: materials
- This topic has 6 replies, 3 voices, and was last updated 4 years, 3 months ago by shawk5.
-
AuthorPosts
-
2020-07-15 at 4:09 pm #30143shawk5Customer
I created a material that user several math and mix nodes, but it is showing up black on verge (it works fine in Blender), I cannot figure out why, any help would be appreciated.
2020-07-15 at 5:48 pm #30155Alexander KovelenovStaffHi,
What does browser console say?2020-07-15 at 6:20 pm #30161shawk5CustomerThanks for getting back, the browser console doesn’t say anything of note, or anything at all. I have been playing around and the object shows up now, but has no texture or color.
My goal is to be able to highlight certain parts of a bone by clicking buttons in the parent html. I created multiple image textures to do texture painting and would like to be able to switch between them.
EDIT:
So what I am finding out is that you cannot manipulate the texture ie pass them through a mix node ect. before you plug them straight into a shader node, is there a way around this, or am I missing something.Result in Blender (see above)
Result in Verge2020-07-16 at 6:35 am #30174Mikhail LuzyaninStaffTo manipulate something you need to connect value or RGB input and change it then. There’s some limitation on amount of textures per materials so there’s not more than 7-8 textures per material, but you need to remember that some of textures reserved by the engine for environment lighting, shadows and etc. So the real amount of thexters that can be used in the material will be 5-6. Try to lower amount of texture per material and try again. Also nodes that not connected to the shader will not be exported.
Co-founder and lead graphics specialist at Soft8Soft.
2020-07-16 at 2:06 pm #30216shawk5CustomerI figured out my problem, I had force to be glTF compatible checked, that turned off a bunch of features.
That is good to know about the fact that I can only have six to seven textures per object, I’ll play around with it to see what I can get working.EDIT:
I know we are way off the question topic now, but just wondering, I have 15 different textures loaded up to one object and it seems to be working fine. Even after I uploaded it. Why would that be?2020-07-17 at 6:02 am #30251Mikhail LuzyaninStaffI know we are way off the question topic now, but just wondering, I have 15 different textures loaded up to one object and it seems to be working fine. Even after I uploaded it. Why would that be?
It’s not a limitation for all devices, but mostly for mobile. On desktop I think you can get even more textures loaded, but if you try to watch your app on mobile device you will get black shaders.
Co-founder and lead graphics specialist at Soft8Soft.
2020-07-17 at 7:21 pm #30283shawk5CustomerGood to know, thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.