ReFract Reloaded
A BepisLoader mod which exposes the Unity Post Processing stack to Resonite cameras.
| Last updated | 11 hours ago |
| Total downloads | 157 |
| Total rating | 0 |
| Categories | Mods Visual Tweaks |
| Dependency string | Noble-ReFract_Reloaded-1.0.2 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
ResoniteModding-BepInExRenderer
BepInEx for Resonite's Unity renderer. Dependency for renderer mods.
Preferred version: 5.4.233001ResoniteModding-RenderiteHook
Allows passing custom command-line arguments to Resonite's Unity renderer process
Preferred version: 1.1.1ResoniteModding-BepisLoader
A mod loader which allows using BepInEx with Resonite
Preferred version: 1.5.1ResoniteModding-BepisResoniteWrapper
Common hooks and events library for BepInEx Resonite mods. Provides essential events like OnEngineReady to simplify mod development.
Preferred version: 1.0.2Nytra-InterprocessLib
Library for mods to send data to the renderer and back.
Preferred version: 3.0.0README
Re:Fract // Reloaded
A Resonite mod which exposes the Unity Post Processing stack to Resonite cameras.
Requires BepisLoader, BepInExRenderer, and InterprocessLib (which itself requires RenderiteHook).
Main Features
- Lets you dynamically alter things such as bloom, depth of field and much more
- Interfaces through dynamic variables for ease-of-creation
- Values can be driven and animated via ProtoFlux as a result
- Persistent across item and world saves
- Will make you the coolest kid on the block
Installation
Automatic (Recommended)
- Install BepisLoader
- Install via Thunderstore/Gale, or download from Releases
Usage
Want to make your own Re:Fract camera? The usage instructions of the original Re:Fract still apply.
(There is a new Re.Fract_RemoveAlpha bool that isn't in those instructions though)
Just want to take a pretty photo? I recommend these existing cameras:
- orange's DeliciousCam has a ton of bells and whistles, a great choice for someone who wants to tweak every aspect of their photo
- yosh's Lightweight ReFract Camera is a lot simpler and gentler on your computer, though it only supports focus for now. You can find it in their public folder:
resrec:///U-yosh/R-E10773FA7D4EC7F497B13DA7C8FC1500027547052763A2CED4004747637F32AD
Examples
Known Issues
- Minor inconvenience: right now there's a small chance that the post-processing effects won't get applied in a photo. Usually just taking it again will fix it.
Special Thanks
- Nytra for making InterprocessLib, which is what made bringing Re:Fract back possible!
- Zozokasu for making ResoniteSpout, which was a good example of using InterprocessLib and communicating with the renderer.
- Cyro for making the OG Re:Fract!
- pocoworks for updating Re:Fract to Resonite.
- yosh for making the final update to Re:Fract, which this mod is based on.
Notes and disclaimers
[!WARNING] Gemini Code Assist was used in the making of this mod, primarily to write code that I knew I needed to write, but didn't know how. I made sure the code it spat out wasn't completely useless garbage, but, y'know.
I tested the mod extensively throughout making it and fixed as many bugs as I could, but I'm sure there's still so much that could be improved code-wise. If you have any improvements to suggest, please submit an issue/PR!
[!NOTE] Please feel free to port the mod to other loaders if you wish to. I used Bepis because it's what I felt the most comfortable working with this time, but InterprocessLib theoretically supports MonkeyLoader and ResoniteModLoader. I don't know how that support necessarily works, but if you're smarter than I am, you can probably figure it out.