Hi everyone,
I’m student in a Game Design school and I am currently working on a transition effect.
Let me explain what I want to do.
I have a 3d view of my scene with 3d models.
Step 1 : Apply a blur on the camera.
No problem with this.
Step 2 : Keep the view the 3D scene behind as background then reveal my canvas.
I got inspired by a graphic effect in Frostpunk.
Here the example at 00.27.
So the idea I have to realise that is to :
-
Apply blur on camera.
-
When done I take a screenshot of my screen and store it.
-
Apply this screenshot as texture on a plane in front of camera
-
Display my canvas behind this plane
-
Apply a disolve on the plane with screenshot texture to reveal the canvas behind
The main problem comes from the function ScreenCapture.CaptureScreenshot().
The function works but the screenshot seems to be stored AFTER I stop the game and not during.
I dont know how to use it properly in runtime.
I hope everything is understandable. If you have any question I am available to anwser.
Thank you in advance.