Hi guys I’m Ryxku and I’m experiencing projection mapping or camera projection, whatever!
My goal is to set a real life plan on Roblox! It won’t move a lot and I can’t figure out why it works good on Blender and not at all on Roblox.
I’m aware my vertices points go far from their UDIM but IS IT Really the reason why the texture doesn’t load AT ALL on my meshes?
Please let me know!
Have you verified that the texture uploaded correctly and wasn’t moderated? Try using the texture assetId on something like a Decal on a Part, or in a GUI ImageLabel.
What about existing known-good textures on the new mesh parts? Can you get the MeshPart to display any texture set as MeshPart.TextureID?
These issues aside, if this part of an environment, you probably don’t want to UV map it projected from the camera like this, the resolution will vary widely across the surface when viewed from any other angle.
Yes I already tested on my picture on other meshparts and the display worked but not on these specific meshes. I don’t think it’s related to moderation. I believe Roblox doesn’t know how to calculate UV distorted for a camera projection which isn’t common to do.
Roblox doesn’t calculate UVs at all when you use MeshPart.TextureID, it just uses the UV values that are baked into each vertex of the mesh you upload. Values outside of [0,1] wrap around, so you should see something unless you somehow uploaded a mesh that doesn’t actually have UV data. Maybe try re-importing the exact file you uploaded back into Blender and see if it still works?
Blender lets you have multiple UV maps on a single Mesh, but most export formats will just bake one to the vertices. This doesn’t usually happen by accident, but if all else fails, maybe just double check that you only have one UV map on the Mesh instance in Blender.
Make sure also that you don’t have vertex colors painted on the mesh, that can mess with texturing. I don’t understand why your grey part is glowing like neon, which makes me wonder about vertex colors. There’s nothing weird about the texture, right? It’s just a normal 8-bits-per-pixel JPEG or PNG, no larger than 1024 wide or tall?
Have you tried using a surface appearance?
Also for importing I would reccomend GLB format.
To test out the GLB file you can use https://glb.babylonpress.org/ which also has some compression tools to check out.
OH WOAH! That’s a big surprise! It worked! I never used glb format before! I was used to make everything in obj since 2019 ahahah!
It blows my mind! Thank you very much!
Yeah I always convert my objs to GLB before importing to ROBLOX because importing objs on ROBLOX usually causes the textures to be lost on models with multiple textures.
Oh wow, I had no idea you were trying to bring in an OBJ, that was an important detail to omit . Roblox OBJ support was never fully implemented, and it doesn’t support skinning, PBR texture import, or animations. Roblox’s mesh importer team only focuses on FBX and glTF/glb support since skinning was introduced in 2019. OBJ import functionality is through ancient legacy code and may or may not work as expected.