Jump to content
  • Advertisement
Sign in to follow this  
khawk

Unity Technical Deep Dive: GPU Lightmapper

Recommended Posts

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:

GPULMBlogpost_2_Asyncflow-1.jpg

Quote

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.

 

 


View full story

Share this post


Link to post
Share on other sites
Advertisement

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
Sign in to follow this  

  • 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!