Esempio n. 1
0
 public static RenderTexture GetDownSampled(this Texture s, RenderTexture output, int ds = 1, Material blitMat = null)
 {
     return(Gaussian.GetDdownSampledRt(s, output, ds, blitMat));
 }
Esempio n. 2
0
 public static void ApplyGaussianFilter(this RenderTexture s, int nIterations = 3, int lod = 1, RenderTexture d = null)
 {
     Gaussian.GaussianFilter(s, d == null ? s : d, nIterations, lod);
 }