Home Technical Talk

Photoshop Dilation/Padding on Lightmap

polycounter lvl 18
Offline / Send Message
SyaPed polycounter lvl 18
So, annoying situation. A Unity project I'm working on has a tonne of lightmaps that were baked in Unity 4, after porting to Unity 5 they still worked fine but now after upgrading to Unity 2017.2 the LMs aren't receiving a dilation/padding pass that Unity should apply automatically... 

https://blogs.unity3d.com/wp-content/uploads/2017/10/2017.2_blog_image13.gif

This causes lots of seam and bleeding issues, especially when the LMs are shrunk for performance or mipmapping. So I'm wondering if there's a Photoshop hack or script that could do this dilation/padding pass? One issue is that the LMs are 32bit .exr files so a lot of PS filters/scripts don't work.

https://drive.google.com/open?id=1es_0txCrkQfhmaVzzpok3Tw3UdGmLo_W

Replies

Sign In or Register to comment.