Jump to content
  • Advertisement
  • 05/20/19 04:58 PM

    Unity Technical Deep Dive: GPU Lightmapper



    Unity has posted a technical deep dive for the GPU Lightmapper offered as a preview in the 2018.3 release. They've partnered with AMD and chosen to use RadeonRays, an open source ray tracing library from AMD, to implement power sampling, rays compaction, and custom BVH traversal.

    The deep dive goes into the design decisions, tradeoffs, pipeline design, and general architecture for the Lightmapper, including discussion of its control flow:



    This producer/consumer approach allows the Scene to be continuously edited while the GPU Lightmapper is working asynchronously. The results can then be displayed in the editor when ready.

    Scenes can potentially be very large and contain many lightmaps. To ensure that work is spent where it offers the most benefit to the user, it is important to focus baking on the currently visible area. To do this, we first detect which of the lightmaps contain most unconverged visible texels on a screen, then we render those lightmaps and prioritize the visible texels (off-screen texels will be baked once all the visible ones have converged).

    Check out the full deep dive here: GPU Lightmapper: A Technical Deep Dive.



      Report Story

    User Feedback

    There are no comments to display.

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!