TomaszFurca Posted September 29, 2018 Share Posted September 29, 2018 Hi, i spent a lot of time with Depth of Field from DefaultRenderingPipeline. I experiment with fStop, focusDistance, focalLength and lensSize. I want to achieve effects like in Torchlight II game. I put the screenshot from my game and I want to make blur only behind my character. Maybe someone have idea how to tweak my settings. Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted October 1, 2018 Share Posted October 1, 2018 Pinging @trevordev Quote Link to comment Share on other sites More sharing options...
trevordev Posted October 1, 2018 Share Posted October 1, 2018 I would try looking at one of these playgrounds (http://playground.babylonjs.com/#Y3C0HQ#146), (https://www.babylonjs-playground.com/#8F5HYV#9) then add code from one of those to your project, play with the sliders until it matches your desired result. I would expect focus distance to be the distance between the camera and your character and a larger f-stop to blur the background. If you run into any issues, create a playground repro'ing it and I can take a look. Quote Link to comment Share on other sites More sharing options...
TomaszFurca Posted October 3, 2018 Author Share Posted October 3, 2018 If you can please look into it https://playground.babylonjs.com/#199KHL#36 I prepare PG with some objects and camera position for player viewport. Quote Link to comment Share on other sites More sharing options...
TomaszFurca Posted October 3, 2018 Author Share Posted October 3, 2018 Found that! https://playground.babylonjs.com/#199KHL#38 Thanks for help Dad72 and trevordev 2 Quote Link to comment Share on other sites More sharing options...
Guest Posted October 3, 2018 Share Posted October 3, 2018 I love our playgrounds.. This is literally a cave of wonders ! TomaszFurca 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.