Skip to content

关于HLSL的一些疑问 #690

Closed Answered by Blinue
MikeWang000000 asked this question in Q&A
Discussion options

You must be logged in to vote

Magpie 中着色器的语法是自创的,不能在别的地方使用,同样 MPC-HC/BE 也有自己的语法。不同软件的着色器是不可能通用的,因为在运行时需要的信息不同。比如 Magpie 的着色器支持传入参数、绘制光标等,播放器却不需要它们。

核心的计算代码确实可以通用,如果想为 MPC-HC/BE 创建着色器,从 Magpie 移植更方便。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MikeWang000000
Comment options

Answer selected by MikeWang000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants