change glsl shader position/order #14203
Answered
by
kasper93
geextahslex
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
kasper93
May 22, 2024
Replies: 1 comment 3 replies
-
Take a look at this. https://github.com/mpv-player/mpv/wiki/Video-output---shader-stage-diagram It may not be fully up to date with gpu-next, but will give you idea what are the stages and how HOOK will position your shader. Take a look at HOOK documentation too https://libplacebo.org/custom-shaders/ |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You probably have
HOOK LUMA
currently, if you want to move it before dithering,HOOK OUTPUT
is the one you should use. Note the input/output of the shader is different in this case, OUTPUT is RGB, while luma is only Y.