weird shadows on custom object

All about making tracks for MX Simulator
Post Reply
ChaosLasse
Posts: 21
Joined: Fri Oct 04, 2019 5:35 pm
Team: Privateer

weird shadows on custom object

Post by ChaosLasse »

Hey everybody,

so I made this buliding in blender and imported it into the game.
Now i get weird shadows all over the place.

I already tried:
-changing the sun angle
-join all objects in blender into one object
-cleaning up faces that are not visible (in blender)

I allways reexported the object as an .obj befor exporting as .jm
(since some changes would'nt save when scipping the extra export)

I would like to release some of the objects i did, but i want them to look how the are intended to.

These are the shadows that i am getting...
Sun from behind:
Image

Sun in front: (Back side seems good though)
Image

Do you guys have any idea on why thats happening?
AtlasZoor
Posts: 338
Joined: Wed Aug 02, 2017 12:51 am
Team: Atlas Trackworks
Location: Corn

Re: weird shadows on custom object

Post by AtlasZoor »

Try using an edge split modifier, should fix the weird shading in the first pic.
Image
aeffertz
Posts: 4031
Joined: Sat Sep 06, 2014 7:01 am
Team: Studio ATE
Location: Wiscansin

Re: weird shadows on custom object

Post by aeffertz »

First, Remove any doubles. Looks like there might be some. Secondly, bake a norm (best way) or edge split your corners (lazy way)

The weird shading you see is the game applying the standard smooth shading to the model. In blender, click your model in object mode and set the shading to Smooth to get an idea how it will look in game if you don’t bake a norm.
Image
ChaosLasse
Posts: 21
Joined: Fri Oct 04, 2019 5:35 pm
Team: Privateer

Re: weird shadows on custom object

Post by ChaosLasse »

Thanks guys,
i will try both, learning is fun when stuff works.
Post Reply