User Tag List

Results 1 to 5 of 5

Thread: Weird bug with color dodge, I need a way around this!

  1. #1
    Clicker

    Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Weird bug with color dodge, I need a way around this!

    Hey guys!

    So I have some lights in my game set up with substract effect, but those seems a bit flat.
    Now they hang from the roof and slowly swings in small angle. My lights are shaped as cones now. Those are ok but I would like to make them better.

    So to do that I made White cone with black background and select effect "Color Dodge" - and it looks brilliant!

    The problem is that when I set my color dodge cone to swing with my lights: Sin(R)*Ang
    For some reason it moves the whole background from the area that light covers.

    I don't think that the problem is with code, but with the shader.
    Anyway it is possible I have missed something, so please any suggestions will be great! Can't figure this out. And after seeing how much better my lights look I don't want to skip this idea.

    Thanks!

    EDIT: It seems to do same with pretty much every custom shader. Argh need to figure this!

    - Jesse

  2. #2
    Clicker

    Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Bumping this!

    So, I tried with .png and after that .jpg to make sure it's not anything to do with .png alpha channels.
    Other effect shaders does this aswell!

    Could someone try, enable HWA and create a cone. Put effect "Color Dodge" and put some angle on it. I mean angle that changes and you'll see.
    "Blank" space around the light cone starts to rotate the background. It's all messed up. If the cone sits still, or if I even move it with mouse or keyboard in runtime it's all fine. But ANGLE seems to bug.

    Can someone confirm that the same happens with you?

  3. #3
    Clicker

    Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Bump!

    Still can't figure this out. :/

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    Alonso's Avatar
    Join Date
    Jul 2006
    Posts
    681
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't really tell what the problem is without images or an mfa, but have you limited R (and G and B) to be from 0-255? That is, if I understood right and the following sets an effect parameter, min(255,max(0,Sin(R)*Ang))?

  5. #5
    Clicker

    Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello Alonso!

    I have not limited RGB. I tried but it did not work, or more likely I did it wrong.
    Could you take a look at demo .mfa?

    Thanks!

    - Jesse
    Attached files Attached files

Similar Threads

  1. [BUG 256.34] Replace color doesn't always work in standard 256 color mode
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th October 2014, 10:21 AM
  2. Color dodge with transparency?
    By J3sseM in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th July 2013, 02:33 PM
  3. Transparent color not applied when 16bit color mode
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th September 2012, 06:11 AM
  4. Transparent color is visible in 16bit color
    By ASD in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 1st September 2010, 04:51 PM
  5. Picture editor: color problems in 256 color mode.
    By contra in forum File Archive
    Replies: 5
    Last Post: 13th December 2006, 10:58 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
  •