cgvirus / Olive-Editor-Community-Effects

A community effort to populate effects for Olive-Editor
60 stars 7 forks source link

Do color pass first, then blur #24

Closed ghost closed 4 years ago

ghost commented 4 years ago

The current shader does this

Blur -> get color -> blend

This modification

Gets color -> blur -> blend

As like https://learnopengl.com/Advanced-Lighting/Bloom

BTW this is not color managed because it assumes the source to be sRGB. pow(x, vec3(2.2))

ghost commented 4 years ago

Forgot to read the Readme. lel