View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 21.11.2010, 16:29Posts: 88 Likes: 0
 

 Post Topic: Shadow of custom mesh messed up in 3.4.0
PostPosted 18.04.2012, 18:46 
So everything looked fine in 3.3.9 but now in 3.4.0 the shadows of a pointlight cast on the surface of my custom mesh get messed up pretty badly.
Also notice that the two screens are essentially the same only one is taken using print on the keyboard and the other (the one with white light) using e_screenshot.
I'm putting this in here because I thought it might be my mesh, so is there anything specific I need to take into consideration? The mesh is a tube built with a boolean difference of two cylinders. The issue happens in both DX9 and DX11.
Mind that the light is inside the tube and therefore shouldn't cast shadows at all (except for the ladder ofc).
On a side note: there seems to be a little version of the screenshot in the big screenshot in the upper left corner.
e_ShadowsSlopeBias didn't help me out here.
Any ideas? :D
Attachments:

ShadowScreenshot.jpg
ShadowScreenCapture.jpg

User avatar   Crytek Staff Member Crytek Staff MemberMember since: 11.07.2008, 20:25Posts: 11626Location: Frankfurt am Main Likes: 10
 

 Post Topic: Re: Shadow of custom mesh messed up in 3.4.0
PostPosted 18.04.2012, 19:38 
I believe this is shadow acne, check point five of this post: viewtopic.php?p=955261#p955261


*face specialist, anti-flowgraph campaigner.
  Beginner BeginnerMember since: 21.11.2010, 16:29Posts: 88 Likes: 0
 

 Post Topic: Re: Shadow of custom mesh messed up in 3.4.0
PostPosted 26.04.2012, 19:23 
Thanks, that solved it,
If I bumb up the ShadowBias property of my point light to 540 the issue is gone but that seems to be a pretty high value to me. Does it cause any problems to set it this high?