Jump to content

Illnab1024

Members
  • Posts

    1,178
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Illnab1024

  1. Hey CMD, if you wanna do this method, just make your mask and apply this CodeLab script to the mask layer:

    void Render(Surface dst, Surface src, Rectangle rect)
    {
       for(int y = rect.Top; y < rect.Bottom; y++)
       {
           for (int x = rect.Left; x < rect.Right; x++)
           {
               ColorBgra col = src[x, y];
               col.A = (byte)(col.R * 0.3 + col.G * 0.59 + col.B * 0.11);
               dst[x, y] = col;
           }
       }
    }
    

  2. Ah. This happens when the Photo Flood Fill/ Alpha Mask Effects try to load a filetype that isn't supported by PdN or try to load a corrupt file or try to load a file waaaaaaaaay to different for it to be able to handle. Try a different file to use for the effect.

  3. When doing a gradient with the Transparency Only option, the secondary color's alpha seems to invert... Try this: Use a linear gradient, with Primary Color alpha 255 and Secondary color alpha 0. Use the Transparency only option, and normal blending mode. An alpha fade should be expected, but it doesn't happen, because the Secondary color's alpha has inverted

×
×
  • Create New...