qiankanglai / seamoptimizer

Optimizing Lightmap seams in Unity with stitching.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

seamoptimizer

This is Unity port of and/seampotimizer. The idea comes from Lighting Technology of „The Last Of Us”.

Unity has provided Lightmap seam stitching for its Progressive Lightmapper. You may also check that if you need this.

This is a part time project just for fun. No heavy use in project yet. If you have any problem and are willing to provide scene example, I'll dig in when free.

Example

Just a corner case: a cube with different lightmapped color on faces.

After optimizing seams, these connect faces get blurred.

Just for comparsion, optimized lightmap with Point sampling.

All the functions are provided in the SO menu.

Thanks

  • To Andreas for his seamoptimizer. (I also like his work lightmapper a lot!)

About

Optimizing Lightmap seams in Unity with stitching.

License:MIT License


Languages

Language:C# 94.7%Language:ShaderLab 5.3%