Using Unity De-Lighting Tool for Scanned Assets
Events
Subscribe:  iCal  |  Google Calendar
London GB   21, Jan — 23, Jan
Taipei TW   24, Jan — 29, Jan
Zürich CH   31, Jan — 4, Feb
Leamington Spa GB   31, Jan — 3, Feb
Bradford GB   6, Feb — 11, Feb
Latest comments
by Joel Alexandre
9 hours ago

Hi. Can you tell how the glass material was made? I found it very interesting.Congratz

by Brayden Marco
18 hours ago

There are no barriers with borders. We provide Java assignment help to the students based in Australia, the UK, New Zealand and the US. Also, writing a program using C, C++, C#, Python, Ruby, and JavaFX is not a challenging task for our experts. https://www.allassignmenthelp.com/java-assignment-help.html

by Alvar Lagerlöf
18 hours ago

Dammit. Not again. This is path tracing not Ray tracing. Ray tracing is practically an hybrid scam. This is the real stuff, the stuff from Disney and Pixar movies. Stop helping Nvidia sell ray tracing. It's not good.

Using Unity De-Lighting Tool for Scanned Assets
12 September, 2017
News

Have you heard about the recently released experimental Unity De-Lighting tool? The thing is that artists interested in 3D scanning technology and game art could definitely benefit from using it. “De-lighting” can be described the process of removing light and shadows from the diffuse texture map created during photogrammetry.

How does it work? Pete Mc Nally has published a thorough guide to using the tool for setting up lighting when it comes to scanned assets. 

A few weeks back I was lucky enough to be at the beach on a day that had 15 hours of sunshine, which was awesome for the farmer’s tan, but problematic for some of the scanning I’d planned on doing due to the harshness of the sunlight and heavy shadowing. I’d heard the Unity tool had been released so I figured I’d press on anyway and try it out. I captured about 120 photos of this sea stack, handheld with my DSLR.

Pete Mc Nally

Here is a small piece of the article to get you interested:

petemcnally_highpoly_stack_3dscan

You can see the shadow baked into the stack and falling across the beach rocks and pebble surrounding it, a good test case for the Unity De-Lighter. I downloaded the latest version of Unity and the De-Lighter package and read up on the requirements. The De-Lighter requires at least the base albedo texture, an object space normals map, a bent normals map and an ambient occlusion map, with optional an optional position map and mask. I wouldn’t usually bake an OS normals map (or bent normals) so I wanted a solution where I could bake as many of the required maps out in one pass as possible, so I settled on XNormal. I decimated the stack model from 16 million tris to 10k and baked the textures at 4k. Here is the output from the bake (the red areas on the albedo are missed hits).

bentnormals]#

Not much difference in this case between the OS normals and bent normals map, it’s quite possible I did something wrong here but it didn’t seem to hurt the end result much. It was easy to add the textures to the Unity De-Lighter and very quick to compute the light cancellation.

Pete Mc Nally

And here’s what the artist got in Toolbag 3 after the de-lighting process:

Make sure to read the breakdown here.  

Leave a Reply

Be the First to Comment!

avatar
wpDiscuz