UnityEngine.Graphics.BlitMultiTap(UnityEngine.Texture, UnityEngine.RenderTexture, UnityEngine.Material, params UnityEngine.Vector2[])

Here are the examples of the csharp api UnityEngine.Graphics.BlitMultiTap(UnityEngine.Texture, UnityEngine.RenderTexture, UnityEngine.Material, params UnityEngine.Vector2[]) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

5 Examples 7

19 View Source File : Blur.cs
License : Apache License 2.0
Project Creator : activey

public void FourTapCone (RenderTexture source, RenderTexture dest, int iteration)
        {
            float off = 0.5f + iteration*blurSpread;
            Graphics.BlitMulreplacedap (source, dest, material,
                                   new Vector2(-off, -off),
                                   new Vector2(-off,  off),
                                   new Vector2( off,  off),
                                   new Vector2( off, -off)
                );
        }

19 View Source File : Blur.cs
License : Apache License 2.0
Project Creator : activey

private void DownSample4x (RenderTexture source, RenderTexture dest)
        {
            float off = 1.0f;
            Graphics.BlitMulreplacedap (source, dest, material,
                                   new Vector2(-off, -off),
                                   new Vector2(-off,  off),
                                   new Vector2( off,  off),
                                   new Vector2( off, -off)
                );
        }

19 View Source File : GlowEffect.cs
License : MIT License
Project Creator : PacktPublishing

public void FourTapCone (RenderTexture source, RenderTexture dest, int iteration)
	{
		float off = 0.5f + iteration*blurSpread;
		Graphics.BlitMulreplacedap (source, dest, blurMaterial,
            new Vector2( off, off),
			new Vector2(-off, off),
            new Vector2( off,-off),
            new Vector2(-off,-off)
		);
	}

19 View Source File : BlurEffect.cs
License : MIT License
Project Creator : PacktPublishing

private void DownSample4x (RenderTexture source, RenderTexture dest)
	{
		float off = 1.0f;
		Graphics.BlitMulreplacedap (source, dest, material,
			new Vector2(-off, -off),
			new Vector2(-off,  off),
			new Vector2( off,  off),
			new Vector2( off, -off)
		);
	}

19 View Source File : BlurEffect.cs
License : MIT License
Project Creator : PacktPublishing

public void FourTapCone (RenderTexture source, RenderTexture dest, int iteration)
	{
		float off = 0.5f + iteration*blurSpread;
		Graphics.BlitMulreplacedap (source, dest, material,
			new Vector2(-off, -off),
			new Vector2(-off,  off),
			new Vector2( off,  off),
			new Vector2( off, -off)
		);
	}