Page 1 of 1

weird shadows on custom object

Posted: Fri Feb 28, 2020 10:11 pm
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?

Re: weird shadows on custom object

Posted: Fri Feb 28, 2020 11:45 pm
by AtlasZoor
Try using an edge split modifier, should fix the weird shading in the first pic.

Re: weird shadows on custom object

Posted: Sat Feb 29, 2020 2:02 am
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.

Re: weird shadows on custom object

Posted: Sun Mar 01, 2020 7:37 pm
by ChaosLasse
Thanks guys,
i will try both, learning is fun when stuff works.