julien-moreau Posted January 10, 2018 Share Posted January 10, 2018 @BlackMojito Ok found that the depth and normal values are wrong when using right handed system, I called the specialists to solve this problem Will tell you once done! Quote Link to comment Share on other sites More sharing options...
Feldspar Posted January 15, 2018 Share Posted January 15, 2018 Hey @BlackMojito, bug will be fixed with that PR : https://github.com/BabylonJS/Babylon.js/pull/3546. Until it's merged and in the latest release, you can fix it by applying minor changes in the SSAO2 shader, see the diff. Cheers, julien-moreau 1 Quote Link to comment Share on other sites More sharing options...
BlackMojito Posted January 16, 2018 Author Share Posted January 16, 2018 16 hours ago, Feldspar said: Hey @BlackMojito, bug will be fixed with that PR : https://github.com/BabylonJS/Babylon.js/pull/3546. Until it's merged and in the latest release, you can fix it by applying minor changes in the SSAO2 shader, see the diff. Cheers, Hi @Feldspar, thanks for the fix. But I tried to modify the shader you in the PR, I lost completely my shadow. Anything else missed for it to work? Quote Link to comment Share on other sites More sharing options...
BlackMojito Posted January 16, 2018 Author Share Posted January 16, 2018 18 hours ago, Feldspar said: Hey @BlackMojito, bug will be fixed with that PR : https://github.com/BabylonJS/Babylon.js/pull/3546. Until it's merged and in the latest release, you can fix it by applying minor changes in the SSAO2 shader, see the diff. Cheers, 1 hour ago, BlackMojito said: Hi @Feldspar, thanks for the fix. But I tried to modify the shader you in the PR, I lost completely my shadow. Anything else missed for it to work? I am using 3.2.0-alpha0. Quote Link to comment Share on other sites More sharing options...
Feldspar Posted January 16, 2018 Share Posted January 16, 2018 PR has been merged, so I suggest that you use 3.2.0-alpha4 that contains the fix. Cheers, GameMonetize 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.