The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

124 个评价
Shader API
   
奖励
收藏
已收藏
取消收藏
Tags: Lua, Tweaks, Shaders
文件大小
发表于
更新日期
6.977 KB
2017 年 10 月 26 日 上午 11:03
2017 年 10 月 27 日 下午 12:19
3 项改动说明 ( 查看 )

订阅以下载
Shader API

描述
Modder tool.

Adds a fix for shaders which allows multiple mods to have their shaders function at the same time instead of overwriting eachother. To use, simply replace the "return {stuff}" of your shader callback with shaderAPI.Shader('ShaderName",{stuff}), and add an if statement to check for shaderAPI before you register your shader function, and if it exists just throw shaderAPI.Shader("ShaderName",mod.shaderFunction).

Alternatively, you can throw any function or table to shaderAPI at any time using the function listed above!

In addition, this allows you to modify and add shaders in any callback simply by using the shaderAPI.Shader call, and can also be used in multiple areas of the program instead of having to cram all your shader stuff into one file - huzzah for require users everywhere!
16 条留言
『Sora』  [作者] 2023 年 5 月 9 日 下午 3:56 
It's now built in compat to revelations, this mod is completely unnecessary anymore on latest game version. It's only still here for people who haven't updated to that for whatever reason.
Borko 2023 年 5 月 9 日 下午 12:08 
That's not a shader api mod tho
Sheda 2022 年 12 月 13 日 下午 2:25 
any news about said mod?¿
Borko 2022 年 9 月 3 日 上午 5:10 
I don't know of a newer mod
『Sora』  [作者] 2022 年 2 月 16 日 下午 12:20 
This was made obsolete by a newer mod from someone else, but I forget the name of it. Plus shaders are still super buggy last I checked, so I'm not sure how useful this will be. If there is interest I could update it though
Sycrith 2022 年 2 月 16 日 上午 5:33 
Are you thinking of updating this for Repentance?
PeriodBender 2021 年 1 月 19 日 下午 6:27 
epic.
Sasha Fox #SaveTF2 2020 年 2 月 7 日 下午 3:51 
Does this work with revelations?
『Sora』  [作者] 2019 年 10 月 26 日 上午 2:44 
The code doesnt no, but the concept should basically be the same just need some tweaking.
JD Vance 2019 年 10 月 25 日 下午 6:55 
is this sarcastic because this dont work no more homie