Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 06-01-2012 , 01:17 PM
Registered User
Join Date: Aug 2011
Posts: 16

strange shadow problem

Hi!

Im working on a school project and one of my models get really weird shadows.

I have proper lightmaps and all the normals are okay.

any idea what the problem might be?


user added imagehttps://imageshack.us/f/521/41145493.jpg/

# 2 06-01-2012 , 02:06 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
Ive not done this before so not sure how you created your maps but could it be you did not given the model enought UV space?.................dave




Avatar Challenge Winner 2010
# 3 06-01-2012 , 03:04 PM
Registered User
Join Date: Aug 2011
Posts: 16
everything is withing the 0,1 space.

should i expand the uvs further ? i have heard from my teachers that the lightmap needs to be within the 0,1 to work properly.

# 4 06-01-2012 , 03:12 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472
Could you show the shadow map and UVs.............dave




Avatar Challenge Winner 2010
# 5 06-01-2012 , 04:09 PM
Perfecto's Avatar
Registered User
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,889
From your screenshot, it looks like the left side is a solid wall and the light is shining through instead of casting a shadow right? So the only shadow I see is from the left front edge. If that's the case, then I think you should check your normals. It looks as though the normals on one of the faces of that side wall is facing the wrong way which would definitely cause that.

That's all I can think of right now that might cause that.

Edit: Attached a screenshot. The left wall has the left face normal reversed which is allowing light to pass through the wall. However, it's pretty obvious because if you were to look at that left wall from the left side, it would look invisible. I don't know anything about lightmaps so as was already mentioned, might want to double check to make sure no part of the light uv is outside the 0,1 space.

Attached Images

Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!

Last edited by Perfecto; 06-01-2012 at 04:23 PM.
# 6 06-01-2012 , 06:24 PM
daverave's Avatar
The thin red line
Join Date: Aug 2009
Location: England
Posts: 4,472




Avatar Challenge Winner 2010
# 7 06-01-2012 , 08:14 PM
Registered User
Join Date: Aug 2011
Posts: 16
thanks, i will see if i get any results!

# 8 07-01-2012 , 08:12 PM
Perfecto's Avatar
Registered User
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,889

Perfecto light maps are usefull in the stuff you are doing see link..........dave

https://forum.unity3d.com/threads/899...Maya-(tutorial)


Thanks dave, I'll check it out. I do currently get a TON of error messages in udk complaining about me not having lightmaps lol. Right now I'm spending several days doing nothing but watching tutorials on texturing, lighting and optimization. Trying to find and learn everything I can.

Btw Sushifish, did you ever get the shadow issue resolved?


Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads