Exemple #1
0
 public override void Use(Texture source, Texture target)
 {
     RenderShader.SetVector3("Color", Color);
     RenderShader.SetFloat("MaxDist", AlphaLength);
     RenderShader.SetFloat("MaxAlpha", MaxAlpha);
     RenderShader.SetFloat("MinAlpha", MinAlpha);
     RenderShader.Use();
     Render(source, target, true, false);
 }
 public override void Use(Texture source, Texture target)
 {
     RenderShader.SetFloat("Glow", Glow);
     RenderShader.Use();
     Render(source, target);
 }