Yue Posted July 9, 2023 Share Posted July 9, 2023 I have a drawback with the shadow, if I move away from the middle of the world the directional light shadow starts to jump, and does not update correctly, any idea what might be going on? Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted July 10, 2023 Share Posted July 10, 2023 You could try this. https://www.leadwerks.com/learn?page=API-Reference_Object_World_SetLightQuality Quote Link to comment Share on other sites More sharing options...
Josh Posted July 10, 2023 Share Posted July 10, 2023 How far away are you? It might be floating point imprecision. 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...
Yue Posted July 10, 2023 Author Share Posted July 10, 2023 I will make a video and show you. Quote Link to comment Share on other sites More sharing options...
Yue Posted July 10, 2023 Author Share Posted July 10, 2023 Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted July 13, 2023 Solution Share Posted July 13, 2023 I still don't know what your distance from the origin is, but it does look like floating point imprecision. 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...
Yue Posted July 14, 2023 Author Share Posted July 14, 2023 Fix Camera distance 0.01 1000 Ok. Error Camera distance 0.001 1000 Fail. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted July 14, 2023 Share Posted July 14, 2023 The larger the range between the camera's min and max view range, the less precision there is for things. 0.01 is good for most applications I think. Ultra will have double float support 1 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.