Roland Posted August 29, 2015 Share Posted August 29, 2015 Just wondering why the shadows don't start from the bottom of this CSG cylinder as they should. The box is also CSG. This way it looks like the cylinder is a bit up in the air although it isn't when running the program. Is it a bug or me missing something. The light is a normal directional light. Both CSG items has 'static¨' shadows on. I also tested with a mdl cylinder, same result. This will look really bad in a real game. In editor Running the program http://youtu.be/BkHAaXRiOQ0 Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Skrakle Posted August 30, 2015 Share Posted August 30, 2015 Have you tried playing with lighting quality? I had issues with shadows too and i ended up setting the lighting to High to resolve it. In the editor: Options > Video > Lighting Quality (High) and don't forget to set it when game starts as well: world:SetLightQuality(2) 1 Quote Link to comment Share on other sites More sharing options...
Roland Posted August 30, 2015 Author Share Posted August 30, 2015 Thanks for the suggestion. Will not be able to test until tomorrow. Will report then how it goes. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
xtom Posted August 30, 2015 Share Posted August 30, 2015 I have the same (but not as bad) shadow gap at the bottom of my picket fences even though they are stuck well into the terrain. All other shadows are ok such as tree trunks, walls, solid fences but the picket fences for some reason have always given me this problem. Quote Check out my games: One More Day / Halloween Pumpkin Run Link to comment Share on other sites More sharing options...
Roland Posted August 31, 2015 Author Share Posted August 31, 2015 Okay. I have now tested with high lighting quality. No change. The shadow becomes a bit more blurry but thats all. Just for the sake of testing I turn ALL setting to their highest levels and same result, so I begin to think this either an Engine limitation or a bug Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Josh Posted August 31, 2015 Share Posted August 31, 2015 Extremely small objects can start to interfere with the resolution of the shadow map. If it's too small it won't have completely accurate shadows. This is normal for any shadowmap implementation. This cylinder is just a little bigger: 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Roland Posted August 31, 2015 Author Share Posted August 31, 2015 Okay. Yes. That was just a tiny cylinder (a surrogate for a key). No problem and good to know. I'll keep that in mind. Thanks Quote Roland Strålberg Website: https://rstralberg.com 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.