Texture prefiltering for Linearly Transformed Cosines I'm implementing Real-Time Polygonal-Light Shading with Linearly Transformed Cosines from Siggraph 2016.

I'm stuck on the texture prefiltering (section 5.3).

As I understand they use Gaussian Blur on the texture, but clamp and normalize kernel to fragments that intersect the original texture.

But how do they create the margin? I have tried proper Gaussian with 2D kernel and 2 pass Gaussian but neither seems similar to what is in the paper.

Also how should weight of Gaussian be chosen? 

Or maybe I'm totally wrong and it is something more than simple Gaussian?
I have ported their WebGL demo in DX shader model 4, but I have not implemented such texture preprocessing. Instead, I use some abstract pattern (like a comuflage) that is twice wider and higher. So, in a reflected area only internal part is rendered if roughness is low, and with a greater roughness, mip-map with lower resolution is taken. That spreads pattern in zone of reflection realistically.
It could be some starting point for your implementation.  

It is possible to make some "texture expansion" like in article, but some special code to do this is needed. This is "special", it modifies Gaussian. 

But in many cases, reflected pattern could be very simple, and such expansion can be eailly created by artist and mip chain generated. Again -good for start point.