way of limiting debanding shader

  • Kleio420
  • Topic Author
More
8 years 8 months ago #1 by Kleio420 way of limiting debanding shader was created by Kleio420
Is it possible to limit the deband shader to filter to only specified colors , say if a game just in general has bad skys that is most noticeable instead of getting it to look for everything would it run faster if just looking for colors in a specific range and brightness ?

Please Log in or Create an account to join the conversation.

  • v00d00m4n
More
8 years 7 months ago - 8 years 7 months ago #2 by v00d00m4n Replied by v00d00m4n on topic way of limiting debanding shader
well, skies are blue, you can add some if conditions and check if color.b is above some threshold, before applying, so effect would apply only to pixels with enough of blue color, mostly skybox and water, but I suggest you to add extra condition to check if all of rgb colors almost close to 0 to deband shadows.
Last edit: 8 years 7 months ago by v00d00m4n.

Please Log in or Create an account to join the conversation.