User Tag List

Results 1 to 3 of 3

Thread: Additive blend

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)

    Join Date
    Mar 2007
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Additive blend

    Hello, anyone know how to code the additive blend shader? Cause i need to combine this effect with others shaders, since mmf doesn't allow multiple shaders, thanks.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    HTML Code:
    sampler2D img;
    sampler2D bkd : register(s1);
    
    float4 ps_main(in float2 In : TEXCOORD0) : COLOR0
    {
    	return saturate(tex2D(img, In) + tex2D(bkd, In));
    }
    
    technique tech_main	{ pass P0 { PixelShader = compile ps_2_0 ps_main(); }  }
    Make sure that <BackgroundTexture>1</BackgroundTexture> is in the xml of the shader.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)

    Join Date
    Mar 2007
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow! Thanks, Looki! That's really helped!

Similar Threads

  1. Additive Blending in iOS
    By SevenSails in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 13th December 2012, 05:13 PM
  2. MMF - RC2 - Blend Coefficient
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 24th June 2011, 09:41 AM
  3. Active with Additive blending question
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 8th June 2008, 02:26 PM
  4. New INK EFFECT algorithm...Better than Additive
    By Steven_Provost in forum Hardware Accelerated Runtime
    Replies: 6
    Last Post: 1st February 2008, 08:13 PM
  5. HWA Additive Blending issue
    By Bruto in forum File Archive
    Replies: 5
    Last Post: 20th January 2008, 05:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •