Fade effect for camera 3D

mc ridemc ride Posts: 8Member
edited April 5 in 3D

Hi! Am looking a way to make transition effect(fade) for camera in 3d space. Something like in the gif. How to achieve this effect?


Tags :

Best Answer

  • GlyphTheWolfGlyphTheWolf Posts: 100
    Accepted Answer

    Hi,

    I think the easiest way would be to create some pre-rendered video and play it looped in background.

    If you need real time rendering for some reason I would try:
    1. Render main scene from main camera to back buffer
    2. Render the same scene (or another one) from different camera to viewport (you can do that more times with more viewports)
    3. Setup TextureRects with texture from viewports (one for each viewport)
    4. Use AnimationPlayer to adjust rects alpha to achieve blending

    Another way would be to use simple color rect with screen space shader and blend all viewports in shader yourself.

Answers

  • GlyphTheWolfGlyphTheWolf Posts: 100Member
    Accepted Answer

    Hi,

    I think the easiest way would be to create some pre-rendered video and play it looped in background.

    If you need real time rendering for some reason I would try:
    1. Render main scene from main camera to back buffer
    2. Render the same scene (or another one) from different camera to viewport (you can do that more times with more viewports)
    3. Setup TextureRects with texture from viewports (one for each viewport)
    4. Use AnimationPlayer to adjust rects alpha to achieve blending

    Another way would be to use simple color rect with screen space shader and blend all viewports in shader yourself.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file