I’m trying to build a scene for use in the mobile renderer.
As you can see from the image attached, there are rendering issues.
The torso, limbs, face etc mesh elements are the problem candidates.
From the neck down, all the mesh element’s (neck, hands, torso, hips, legs, etc) material instances are instances of the same material, with no overriding properties.
The base material is a simple 2048x2048 pixel opaque diffuse layer, sourced from a .tga texture file.
I have tried applying the neck instance to other mesh elements (torso, hips, legs etc), but received the same result grey skewy results.
It is as if the mobile render does not like some mesh elements, for some reason.
I can currently think of the following causes for this issue:
The polygon make-up of these mesh elements could have some overlapping vertices in the problematic mesh elements.
A rendering resource of some kind was exhausted after rendering the neck and hands, leaving the rest as shown.
I receive a similar, but not exact, result when deploying to Firefox and an Android Nexus 5. I can provide screen grabs of these if needed.
Hmmm, bone count <75 did not seem to make any difference.
To me, currently it looks like there is a limit for the number of polygons of a dynamic object/ animated mesh in the mobile renderer for raster textures to be applied properly.
If this is the case, I’d be super appreciate if anyone could tell me what that number is!
I am having a hard time reproducing this issue here, if possible could you share your Skeletal mesh, the FBX. If you would like to keep it private feel free to message me on the forums.
This is a model exported from Daz3D as an 2013 FBX, then imported in to Maya 2014 just to export out as an FBX again (importing then exporting in Maya seems to iron out a few other issues). The bone count, to my knowledge, is below the 75 limit for mobile.
The FBX is a standard and unmodified Daz3D ‘Genesis 2 Female’ model with no additions (no hair, props etc)
I have tried with and without square texture materials (as above) The model comes with many that are not square (but this seems not to be the cause of the issue, as when I remove them completely and leave just a single square textures the issue persist)
I REALLY hope you can help! I would have thought this is quite a common issue, as I don’t believe I have done anything hacky. So I suspect and hope this will be of benefit to others too if resolved.
I’m getting the same issue when I have skeletal meshes with more than 1 material on them. Mixamo fuse characters have 2 materials when you have clothing even with texture packing enabled. Does Daz3D support automatically putting all the textures into one element or are you doing it manualy?
Though the process is not entirely automatic and there are a few other prerequisite…
Firstly, you need to remove some bones (Daz3D models have too many for mobile renderer)
Then you use Daz3D Texture Atlas to combine all textures to 1 file (you will want to use a maximum of 2048px and make sure it is square, for mobile)
Then, in Daz3D, you will want to delete all surface groups, bar 1 or 2. UE4 can handle a few I have found, as long as subsequent materials applied to each surface group (AKA “Element” in UE4) are not textured materials.
Alpha transparency is also a bit of an issue, considering now you have only a couple of surface groups now. You will need to take your Texture Atlas in to photoshop and modify your mask texture accordingly.
When you do the tasks above in Daz3D, you may want to make sure that you dont save your Daz3D scene, or all the changes you made above will be baked in and are only reversible with the Daz3D undo.
Good luck! there are a few tediouse steps but it is possible.
Let me know if you would like any of the above expanding upon.
I figured out that I had to set each individual texture on the mixamo fuse character down to 512x512 for them to end up on a single 1024x1024 map. By default the skin is set to 2048x2048 so it wouldn’t pack with the clothing texture.