jahow Posted April 17, 2015 Share Posted April 17, 2015 I'd say all this is possible, including the additional blur after the first pass... But I can't say for sure when I'd be able to add all that. Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted April 17, 2015 Share Posted April 17, 2015 Yep, for sure, we all miss time . I'd find it fantastic if you decide to add those features "one day" Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted April 20, 2015 Share Posted April 20, 2015 Oh, jahow, I've just noticed that with the new babylon.2.1-beta, the blur is really stronger than with the version I was using until then (a two weeks old 2.1-alpha version).The blur power is quite enough strong in fact.However, my scene has a totally different scale than your skull examples, and at this scale I found that the far objects are really better than previous version, but the closest objects have now strange artifacts they didn't had.For info: the previous version can't compile anymore in the latest chrome, nor in the next Firefox release (both are using the same google ANGLE for WebGL) Quote Link to comment Share on other sites More sharing options...
jahow Posted April 20, 2015 Share Posted April 20, 2015 Ok well it means you're now using the latest version which is improved and should work in FF and Chrome. Can you take a screenshot of the artifacts you get? Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted April 20, 2015 Share Posted April 20, 2015 Have a look, the focus is on the big button in front of the camera, so it shouldn't have any blur effect applied, but there are strange ghosts surrounding it. jerome 1 Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted April 20, 2015 Share Posted April 20, 2015 Oh, congratulations!! I see that the blur now reacts correctly with surface containing alpha against constrated backgrounds (for instance a black plane with alpha above a white plane)(I think it was the bloom and not the blur which was acting not well in such situation) Quote Link to comment Share on other sites More sharing options...
jahow Posted April 20, 2015 Share Posted April 20, 2015 Wow, that's a pretty watch! From the look of it I'd say the background is very far away and as such is drawn with a lot of blur, some of which gets sampled from the button. Since the background is a plain color, the artifact is very visible. Ok, I guess there's a fix to this. Checking for the depth of the pixel we're sampling should allow us to be sure that we don't sample the blur from something that is in focus. I'll have to add a parameter, something like "precise blur", since it will be a bit costly in performance. I'll work on it tomorrow and keep you updated, alright? Quote Link to comment Share on other sites More sharing options...
Vousk-prod. Posted April 20, 2015 Share Posted April 20, 2015 Ok. Thanks a lot! (In fact the background is not a plain color, but it has some parts with plain colors, and it really is far regarding of the object scale, as you correctly guess) 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.