Is there a way to have a layer shader work on both its own layer and the background?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I can get my shader working with its own layer via the standard: "Out.Color = tex2D(Texture0, coord);"

    I can get it to work for everything under that layer via: "Out.Color = tex2D(bkd, coord);"

    I can't think of any way to get it to work for everything. I could always make another layer above everything and sample the background from there, but I'm wondering if there's a method of doing this with HLSL?

  • Looking at the photoshop effects, they seem to use the sprite layer to alter the background layer. I'm not sure how to apply that towards making the effect apply to the unaltered combination of current and background layers.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!