Unite 2014, Seattle: PowerVR Ray Tracing behind the lightmaps in the Unity editor

Share on linkedin
Share on twitter
Share on facebook
Share on reddit
Share on digg
Share on email

This August, Seattle saw a flood of game developers coming into town for Unite 2014, the eighth annual Unity conference held at the Seattle Center. Among the exciting sessions and keynote speeches, Jens Fursund from our PowerVR Ray Tracing team was there to introduce the upcoming Unity 5 lightmap editor which uses our ray tracing technology to quickly and accurately simulate lighting.

We are very excited about our partnership with Unity and we’ve been getting a lot of positive feedback from select developers who have been able to see a demonstration of the tool at recent shows and events.

Let’s take a quick look at how PowerVR Ray Tracing technology speeds up work for developers and artists using the new lightmap editor.

PowerVR Ray Tracing - Unite 2014 - Unity 5 lightmap editor-10Unity 5 will show lightmaps interactively updating as you move geometry and lights around the scene or change materials

A preview of the Unity 5 lightmap editor

In the screenshots provided below, you can see how the Unity 5 editor re-renders the lightmap when the user changes any of the light sources. The tool is completely interactive and offers artists and developers an immediate idea of how lighting will look in the final game.

The engine driving the lightmap creation is our PowerVR Ray Tracing technology. The Unity 5 editor uses ray tracing to trace rays from the position of every lightmap texel, as it is mapped into the 3D scene. The rays then intersect the other objects, scatter off of them, and simulate all of the different paths that light can travel. The rendering process progressively improves over time until a final quality lightmap is rendered.

PowerVR Ray Tracing - Unite 2014 - Unity 5 lightmap editor-s1The sequence above shows how the lightmap is being progressively refined

You are free to make any changes that affect the lightmap, e.g. to lighting or geometry, and the editor will recreate the lightmap as needed. In our example you can see us moving objects around and adjust different material properties. For instance, when using a red emissive material on a given object, you can obtain a dramatic glowing effect as you increase the intensity of the color. However, this bouncing light effect is not something you will see only with emissive materials.

PowerVR Ray Tracing - Unite 2014 - Unity 5 lightmap editor-7Red emissive materials generate glowing effects

When using a highly-saturated diffuse material (e.g. a green wall), the light will hit its surface and bounce on the other walls. Both examples are very noticeable in the static lightmap view.

PowerVR Ray Tracing - Unite 2014 - Unity 5 lightmap editor-2The effect of using an emissive material is more noticeable when switching to the static lightmap view

You can also modify variables related to the environment; for example, removing the skybox makes the shadows harsher while the bounce lighting is not getting washed by the skybox anymore.

In the image below, we’re also showing the textured view where textures are blended in with the lightmap overlay and the static lightmap view where you can see the pure lightmap, by itself. The static lightmap view is very useful when trying to figure out how the shadows and lighting in the scene will look irrespective of the textures applied on different objects. Additionally, you can enable a preview of the 2D unrolled lightmap in a small window, which can sit in the corner of the main editor.

PowerVR Ray Tracing - Unite 2014 - Unity 5 lightmap editor-9 You can see the textures blended in with the lightmap overlay or switch to the static lightmap view

Additional reading on PowerVR Ray Tracing

We can’t wait to hear your feedback on the lightmap editing features in the Unity 5 editor. For those interested in finding out more information on our PowerVR Ray Tracing technology, here is a selection of available resources:

Make sure you follow us on Twitter (@ImaginationTech, @PowerVRInsider, @PowerVR_RT) to get the latest news and announcements for the PowerVR ecosystem.

Alex Voica

Alex Voica

Before deciding to pursue his dream of working in technology marketing, Alexandru held various engineering roles at leading semiconductor companies in Europe. His background also includes research in computer graphics and VR at the School of Advanced Studies Sant'Anna in Pisa. You can follow him on Twitter @alexvoica.

3 thoughts on “Unite 2014, Seattle: PowerVR Ray Tracing behind the lightmaps in the Unity editor”

  1. Hi Alexandru, This is really impressive! So when this is implemented in Unity in a future update will this work on nvidia or amd hardware bake light in unity? I’m currently doing a cool vr demo and enlighten is way to slow for me to get good results its almost a gamble to get the correct settings. If this technology gives me quicker results it would make my life really extremely turbo easier! Hope this cool ray tracing technology don’t take years to implement in unity3d.
    Cheeers, Roy!

    • That is correct. Another example of a PowerVR Ray Tracing software implementation (although slightly different) is the Visualizer plug-in for SketchUp.
      When used/implemented correctly and efficiently, ray tracing is a tool that is useful for a lot of things.


Please leave a comment below

Comment policy: We love comments and appreciate the time that readers spend to share ideas and give feedback. However, all comments are manually moderated and those deemed to be spam or solely promotional will be deleted. We respect your privacy and will not publish your personal details.

Blog Contact

If you have any enquiries regarding any of our blog posts, please contact:

United Kingdom

Tel: +44 (0)1923 260 511

Search by Tag

Search by Author

Related blog articles

pvrtune complete

What is PVRTune Complete?

PVR Tune Complete highlights exactly what the application is doing at the GPU level, helping to identify any bottlenecks in the compute stage, the renderer, and the tiler.

Read More »


Sign up to receive the latest news and product updates from Imagination straight to your inbox.