Weird Shadings Showing on Meshparts

Recently I’ve been starting to model some stuff that aren’t low poly. Whenever I would import a model that has been smooth shaded in blender, the model in ROBLOX comes out as a very weird shaded object.

I have used auto smooth, and even smoothed shaded the specific shaded faces I need for the object to be shaded but it still comes not how I expect it would in ROBLOX.

Here is an example that is smooth shaded in blender and imported in ROBLOX:
This is Blender
image
This is ROBLOX
image

If anyone knows how to fix this problem, please help me with this. Thanks for reading :slightly_smiling_face:

3 Likes

The problem with your mesh is most likely that it has double vertices in it.

I’ll guide you through the process of fixing this.

Step 1:
Select all vertices in your object in edit mode by pressing “A” 2 times.

Step 2:
Go to your mesh tab and scroll down to “Merge by Distance”

Step 3:
Re-import your mesh into Studio and tell me if it weird shading is gone.

3 Likes

Bad news, the weird shading is still there. Do you know anything else that could fix this problem?
image

Try to flip the normals. It might help.

There are cylinders available in the toolbox, why not take one from there?

1 Like

I’m using the cylinder as an example, when I use other models that I import, they have the same problem.

Could you configure the settings of the cylinder so i can get the mesh?

2 Likes

Configured the settings so you can receive the mesh.

I’ve flipped the normals and it still won’t work. I’ve used a simple gun barrel this time to show you that it’s just not the cylinder that is breaking for me.
Blender:
image
ROBLOX:
image

1 Like

I took a look at your cylinder and I officially found the problem!

The problem was that you had autosmooth enabled.

I’ll guide you through how you can fix your mesh now.

Step 1:
Repeat the steps in my first post and delete your double vertices.

Step 2:
Go to your geometry tab and disable the Auto Smooth option.

This should get rid of the weird shading. :+1:

1 Like

I imported it into studio and as you can see the weird shading is gone!
image

1 Like

Thanks man but it still won’t work, however I have indirectly found the problem while re importing the object into Studio.

Whenever I will import an object into studio, I would use a plugin which would allow me to export all objects at 1 time in Blender, which saves time when I export every single object separately. It seems like the plugin was the problem to the error.
image
However, when re exporting the model in, I’ve used the default way of exporting the model.
image
And to my surprise it worked. I’ve tested it out multiple times to see if that was truly the problem, and indeed it was.

Thank you for everyone helped.

This is the output when I used the default exporting setting:
image

2 Likes

Sorry for reviving the topic, but I wanted to say that you can export multiple meshes at the same time with correct shading (By correct I mean exactly as visible in Blender viewport) using the Wavefront Batch export plugin.

It doesn’t do this by default, but it’s really easy to make it write shading data correctly.

You can select all the objects in the viewport, click Wavefront Batch export, and when the File view screen pops up, under Operator Presets enable Smooth Groups. It will be turned off by default.

image

And that’s it. Thats all you have to do to export any amount of meshes with correct shading.

Any idea where the 2.9 update could be for that plugin? It’s no longer functioning.

Couldn’t find the GitHub link but I had it installed. You just have to convert it to a python file (.py)
This plugin doesn’t solve this problem, you just have to enable Write Normals when exporting :slight_smile:

importexportbatch.txt (9.2 KB)