bjin / mpv-prescalers

prescalers for mpv, as user shaders
GNU Lesser General Public License v3.0
355 stars 34 forks source link

have standard glsl codes? #39

Closed liuming15801 closed 4 years ago

liuming15801 commented 4 years ago

hello, have standard glsl codes? no mpv glsl

bjin commented 4 years ago

"mpv glsl" IS standard glsl ultilizing mpv specific macro/function to access texture and mpv header annotation to manage shader invocation. These are neccesary and there is no universal solution for that.

If you are a developer who know a bit about OpenGL, it's actually pretty easy to port these shader to any OpenGL application.

If you are just a user, make sure your application actually actually support user shader and then make a feature request for that.

liuming15801 commented 4 years ago

hi, what's mean of "the texture that triggered this pass"? thanks

hengfang.liu@tcl.com

From: bjin Date: 2019-10-06 19:03 To: bjin/mpv-prescalers CC: liuming15801; Author Subject: Re: [bjin/mpv-prescalers] have standard glsl codes? (#39) "mpv glsl" IS standard glsl ultilizing mpv specific macro/function to access texture and mpv header annotation to manage shader invocation. These are neccesary and there is no universal solution for that. If you are a developer know a bit about OpenGL, it's actually pretty easy to port these shader to any OpenGL application. If you are just a user, make sure your application actually actually support user shader and then make a feature request for that. ― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

bjin commented 4 years ago

read the HOOK section of https://mpv.io/manual/master/#options-glsl-shaders