We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Material Shows up Black

Home Forums Graphics / Blender Material Shows up Black

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #30143
    shawk5
    Customer

    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.

    #30155

    Hi,
    What does browser console say?

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #30161
    shawk5
    Customer

    Thanks 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 Verge

    #30174

    To 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.

    #30216
    shawk5
    Customer

    I 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?

    #30251

    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?

    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.

    #30283
    shawk5
    Customer

    Good to know, thanks.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.