OtisFX icon indicating copy to clipboard operation
OtisFX copied to clipboard

Apply dither after combining when conversion is made to uint8 to avoid banding

Open FransBouma opened this issue 4 years ago • 0 comments

Prod80:

you could do something similar in your DoF shader... just use 16F textures until you go for output and after combining the blurred textures apply a dither to it... then when it goes for output and is transformed back to uint8 it is rounded and the dither is applied there automatically due to the minor variations applied by the gaussian noise texture. It's very cheap, easy to implement, and results are great.

FransBouma avatar Mar 14 '20 16:03 FransBouma