ReFract Reloaded
A BepisLoader mod which exposes the Unity Post Processing stack to Resonite cameras.
模組介紹 作者原文
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/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.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: