예제 #1
0
파일: CC_Glitch.cs 프로젝트: Togene/BeCalm
 void DoInterferences(RenderTexture source, RenderTexture destination, InterferenceSettings settings)
 {
     material.SetVector("_Params", new Vector3(settings.speed, settings.density, settings.maxDisplacement));
     Graphics.Blit(source, destination, material, 0);
 }
예제 #2
0
		protected virtual void DoInterferences(RenderTexture source, RenderTexture destination, InterferenceSettings settings)
		{
			Material.SetVector("_Params", new Vector3(settings.Speed, settings.Density, settings.MaxDisplacement));
			Graphics.Blit(source, destination, Material, 0);
		}
예제 #3
0
파일: Glitch.cs 프로젝트: Jade570/Jadescape
 protected virtual void DoInterferences(RenderTexture source, RenderTexture destination, InterferenceSettings settings)
 {
     Material.SetVector("_Params", new Vector3(settings.Speed, settings.Density, settings.MaxDisplacement));
     Graphics.Blit(source, destination, Material, 0);
 }
예제 #4
0
 void DoInterferences(RenderTexture source, RenderTexture destination, InterferenceSettings settings)
 {
     material.SetVector("_Params", new Vector3(settings.speed, settings.density, settings.maxDisplacement));
     Graphics.Blit(source, destination, material, 0);
 }