Josh Posted March 30 Posted March 30 15 minutes ago, Dreikblack said: Now i have no shadow acne with default shadow map size This is good, right? Quote Let's build cool stuff and have fun.
Josh Posted March 30 Posted March 30 Here is the scene I am using to test: shadowtest.zip Quote Let's build cool stuff and have fun.
Yue Posted March 30 Posted March 30 3 hours ago, Josh said: Here is the scene I am using to test: shadowtest.zip 2.86 kB · 0 downloads Open Level Here. Quote Murphy's Law: We don't fix bugs, we document them as features. – Murphy Games
reepblue Posted March 31 Posted March 31 Was this officially patched in an update yet? I hate shadow acne with a passion and I hope this can get reduced as possible. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
Dreikblack Posted March 31 Author Posted March 31 8 hours ago, Josh said: This is good, right? Yes Quote Check out Slipgate Tactics demo, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Josh Posted April 22 Posted April 22 Closing this since the OP confirms it is fixed. If any other issue exists please report it separately, thanks. Quote Let's build cool stuff and have fun.
Dreikblack Posted August 22 Author Posted August 22 Was this change added to official build? Had to change shader file manually to fix shadow acne again Quote Check out Slipgate Tactics demo, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
reepblue Posted August 22 Posted August 22 The code wasn't there on a new project. Maybe he forgot to change it or doesn't know the best all-around solution is.. Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon!
Solution Josh Posted August 27 Solution Posted August 27 Here is the modified file that goes in Shaders/PBR/Lighting.glsl. I am adding this into the install. Lighting.glsl This only affects spotlights. In the future I think a reverse-Z matrix could be used to provide better distribution of depth precision. Quote Let's build cool stuff and have fun.
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.