Jump to content

Search the Community

Showing results for tags 'screenshots'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feedback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Add-on Store (https://store.unigine.com/)
    • Showcase
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. How to capture motion blur image at runtime? if (player == null) { Unigine.Console.OnscreenMessageLine(vec4.RED, "No active camera."); return; } viewport.Mode = Render.ViewportMode; // We temporarily set exposure adaptation time to 0, otherwise the image may be too dark float exposureAdaptation = Render.ExposureAdaptation; Render.ExposureAdaptation =0f; // We render with velocity buffer turned off to avoid temporal effects artifacts viewport.AppendSkipFlags(Viewport.SKIP_VELOCITY_BUFFER); viewport.RenderImage2D(player.Camera, image, width, height); viewport.RemoveSkipFlags(Viewport.SKIP_VELOCITY_BUFFER); Render.ExposureAdaptation = exposureAdaptation; if (!alphaChannel || format == Format.jpg) { if (image.Format == Image.FORMAT_RGBA8) { image.ConvertToFormat(Image.FORMAT_RGB8); } else if (image.Format == Image.FORMAT_RGBA16F) { image.ConvertToFormat(Image.FORMAT_RGB16F); } } image.Save(fullName_yuan, 1); In this way, the images are clear,Motion blur effect cannot be intercepted。
×
×
  • Create New...