How to import meshes with its color?

Don’t mind me haha, I’m new to blender :3

Meet “Brik!”

Brik is a green brik that wants to be imported in roblox studio with the same color it has :DD

Now I must take it to it’s new home! Roblox studio!

image

Uh oh :fearful:

Brik has lost his true color! :sob:

Please help me get his green color back! :sob: :sob:

Waaa!! I did something wrong and it’s my fault! Brik is now just a boring old grey block :frowning:

Brik also gets sad when I color him green, because it’s not his comforting color :sob:

Less cringe explanation.

So how do I import a model with the colors I put on it from blender? I tried searching for tutorials but it didn’t show :frowning:

Thanks for reading! Happy Developing! <3

4 Likes

You need to upload the texture of the brick, then paste it into the textureID section; the brick does not have its own color, as it is a texture.

2 Likes

Thank you! But… How do I get the texture? :sob:

1 Like

I suggest learning about UV unwrapping in Blender as it is the main way people create and export textures for meshes on roblox.

1 Like

Download the UV wrapping of the mesh, upload as a decal to Roblox, then put it at TextureID of the mesh (At Property)

If it’s just a basic colors, you should just color them in the Roblox Studio.

1 Like

Is there a tutorial on youtube that explains this?

Basically how I do this is, when im in blender I create a new image texture material, choose the texture your using, if your looking for just a plain colour like your green brick well heres a texture

so then your brick will probably be lots of mad colours and look very weird, but thats okay because then you switch to your UV Editing tab, and go into edit more and press A, this will select all your faces so then at your uv editing menu on the left, hover your mouse on that tab and press A, it should have some type of 2D version of your model, then you can press G to move your little 2D version and press S to scale it, to get just a plain colour you can press S until its small enough to fit into which ever colour your want, if you dont understand this feel free to private message me!

1 Like

It should be relatively simple. You need to export the texture then add the texture in the mesh. I believe you use a .mtl file to do that if you exported your “Brik” as a .obj.

1 Like

So I might need to save the mtl file as a png through paint net?

You technically could save just as a PNG the difference is the MTL file from my knowledge also holds location data.

1 Like

Thank you so much! I’ll try it out soon!

So MLT is a texture file and to add it onto my little adorable Brik I’ll need to convert it to a PNG?

Correct me if I’m wrong :sob:

1 Like

To apply a mesh texture in Studio:

  1. Select the MeshPart object within the game editor view or Explorer hierarchy.
  2. In the Properties window, click on its TextureID field.

In the context popup window, the texture can be applied in various ways:

  • Select any image (texture) that you previously uploaded.
  • Upload a new texture by scrolling to the bottom of the popup and clicking Add Image… .
  • If you know the Roblox asset ID for the texture, for instance rbxassetid://0123456789 , you can paste it into the URL field at the top of the popup.

Try this using MTL or PNG. You need to upload the texture either in studio or at roblox.com

Edit: MTL is preferred because it contains location data specific to .OBJ files.

3 Likes