Why am I getting strange shadows on my mesh?

Hello! im not sure if this is the right section but ive come across a strange shadow bug i think. Ive modeled simple cubes that i stack ontop of eachother and when ive stacked the cubes ontop of eachother the cubes that are closest to the ground changes color and not smoothly, its like direct so it looks like a sudden break. I also tried modeling the cubes at the height i want and then export them but with no luck i still get the strange shadowing/color change.

I have built the project and packaged it but i still get this “error”

Pics: link text

Does anyone have a clue whats going on here?

Hi and thanks for you’re answer ive already changed the lightmap resolution to 256 however the problem still consists. Ive “Solved” it by removing the cubes closer to the ground and scaling a top cube. With this technique i get poor uvs on the scaled ones, but i dont get that direct color change on the cube.

edit:

If i make a uv out of this single huge mesh i will get poor quality on the uvmap so that’s why i want it to be single meshes that i can stack properly.

/Land0w

Hi Land0w,

This is affected by your lightmap resolution being set too low.

When dealing with a custom mesh you’ll want to adjust the lightmap resolution in the details panel for the object. You’ll need to adjust this to a higher value for it receive better shadow information to be baked into the objects lighting channel. Depending on the size of the mesh you’d want this to be a higher number but usually anywhere from 64, 128, 256 should be fine.

If you are using a BSP brush you’ll need adjust the lightmap resolution to a lower value to receive higher quality shadow information.

Let me know if this works out for you.

Thanks!

Take a look at this site, there you can find common light problems and how you can solve them: ://www.worldofleveldesign/categories/udk/udk-lightmaps-03-how-to-fix-light-shadow-lightmap-bleeds-and-seams.php

Thanks this looks very promising! amazing tutorials

I got this issue after I changed the Near Clip Plane setting to a very low number in General Project Settings. Try avoid using values below 1

I’d say redo the UVs.