Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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?

Product Version: Not Selected
more ▼

asked May 09 '14 at 04:39 PM in Rendering

avatar image

11 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

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.



more ▼

answered May 09 '14 at 05:40 PM

avatar image

Tim Hobson ♦♦ STAFF
48.7k 888 103 880

avatar image Land0w May 09 '14 at 06:17 PM

Hi Tim 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.


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.


avatar image fighter5347 May 09 '14 at 08:13 PM

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

avatar image Land0w May 09 '14 at 08:43 PM

Thanks Fighter5347 this looks very promising! amazing tutorials

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

more ▼

answered Feb 05 '19 at 02:10 PM

avatar image

1 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I'd say redo the UVs.

more ▼

answered Feb 05 '19 at 08:08 PM

avatar image

Crowley Caine
693 8 10 16

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question