The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

123 ratings
Shader API
   
Award
Favorite
Favorited
Unfavorite
Tags: Lua, Tweaks, Shaders
File Size
Posted
Updated
6.977 KB
26 Oct, 2017 @ 11:03am
27 Oct, 2017 @ 12:19pm
3 Change Notes ( view )

Subscribe to download
Shader API

Description
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 Comments
『Sora』  [author] 9 May, 2023 @ 3:56pm 
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 9 May, 2023 @ 12:08pm 
That's not a shader api mod tho
Sheda 13 Dec, 2022 @ 2:25pm 
any news about said mod?¿
Borko 3 Sep, 2022 @ 5:10am 
I don't know of a newer mod
『Sora』  [author] 16 Feb, 2022 @ 12:20pm 
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 16 Feb, 2022 @ 5:33am 
Are you thinking of updating this for Repentance?
tsubb 19 Jan, 2021 @ 6:27pm 
epic.
Sasha Fox #SaveTF2 7 Feb, 2020 @ 3:51pm 
Does this work with revelations?
『Sora』  [author] 26 Oct, 2019 @ 2:44am 
The code doesnt no, but the concept should basically be the same just need some tweaking.
Vice President 25 Oct, 2019 @ 6:55pm 
is this sarcastic because this dont work no more homie