deecue Posted June 13, 2005 Share Posted June 13, 2005 i'm having some issues with my geometry casting shadows inaccurately.. it appears as if the geometry is intersecting the other geometry when it's not at all. here are some images to explain what i mean ( i know it's kinda hard to tell what's going on, but just need to know that the two pieces are *not* intersecting). Here is from the side showing the shadow stopping prematurely: Here is from above showing the shadow stopping as well as the space in between the two objects to show that they never cross. so yea.. i feel like i should i know why this is occuring but i can't remember it for the life of me.. thanks for the help everyone.. <edit> also, i tried killing all shaders and still got same result.. i problem seems to be coming up at the very end of the chain where i have a transform sop that's scaling it down and moving it close to the other object.. i noticed that if i take away the scaling in the transform sop and just move the big version over, there is no problem (whether it intersects or not).. just seems wierd to me.. and i do need to scale it down, so.. </edit> Quote Link to comment Share on other sites More sharing options...
Marc Posted June 23, 2005 Share Posted June 23, 2005 hey, just saw this. Did you check the bias setting in your shader? It could be that... M Quote Link to comment Share on other sites More sharing options...
deecue Posted June 23, 2005 Author Share Posted June 23, 2005 ahhhh right you are marc.. thanks a ton i didn't get to the point of lighting the scene appropriately yet (just a quick setup to see things).. so i haven't even thought of using any shadow shaders at this point (i just had the standard transShadow applied).. once i threw on a shadow shader and bumped the bias, it all went away.. for future reference, do the standard shadows built in to the lights have bias'? because i couldn't find any? why is this? because they aren't ray traced? thanks again for help.. Quote Link to comment Share on other sites More sharing options...
old school Posted June 23, 2005 Share Posted June 23, 2005 Yep, as Marc said, most likely a shadow bias issue. Are you using shadow maps or raytracing? Quote Link to comment Share on other sites More sharing options...
deecue Posted June 23, 2005 Author Share Posted June 23, 2005 well i will be using ray traced ones in the end, so like you guys said, it was the bias that needed to be adjusted.. but for the quick and dirty setup i just had the built in transShadow applied (which i thought was raytraced, but can't seem to find any bias settings in the light itself.. i never really took time to see what was going on with the standard built in light shadows until now..) Quote Link to comment Share on other sites More sharing options...
Marc Posted June 23, 2005 Share Posted June 23, 2005 standard built in shadows are rarely a good idea, unless you just want something quick and dirty. I believe the transshadow is raytraced but with no higher level controls. Quote Link to comment Share on other sites More sharing options...
deecue Posted June 24, 2005 Author Share Posted June 24, 2005 yea.. prob wasn't the best idea to use those.. i figured it would be ok until i actually got around to lighting, but i suppose it wasn't the best choice.. good for future reference tho.. thanks guys.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.