ShaderSwapper
⚪ Last updated 2024Preview
🔍 Analysis
- 👍 0.0% endorsement rate
- 🏆 #16 of 62 Libraries mods in this game by downloads
📋 About This Mod
A lightweight library for upgrading stubbed shaders to actual shaders at runtime.
ShaderSwapper is a lightweight library for Risk of Rain 2 modders that upgrades stubbed shaders to real John Hopoo shaders at runtime, preserving material properties. It's a general solution for asset bundles, with asynchronous methods and coroutine support. With 1.2M downloads and 10 endorsements, it's a niche but widely used tool for mod development.
✨ Key Features
📊 Pros & Cons
✅ Pros
- Huge download count (1.2M) shows it's a go-to solution for many modders.
- Lightweight and general-purpose, works beyond just RoR2.
- Preserves material properties during shader upgrade, saving manual rework.
⚠️ Cons
- Low endorsement count (10) relative to downloads, suggesting it's underappreciated or niche.
- Requires explicit inclusion of materials in asset bundles, which can be easy to miss.
- Last updated in Feb 2024, so may not be actively maintained for newer game versions.
This is for Risk of Rain 2 mod developers who use stubbed shaders in their asset bundles and need a runtime upgrade to real shaders. It's also useful for anyone creating mods with custom materials who wants to avoid shipping the full shader code. If you're a player just looking for gameplay mods, this isn't for you.
💡 Beginner Tips
- Make sure your materials with stubbed shaders are explicitly included in your asset bundle, not auto-included, or ShaderSwapper won't find them.
- Use the coroutine example in your plugin's Start method to run the upgrade asynchronously without blocking.
- If you're using IContentPackProvider, yield the UpgradeStubbedShadersAsync enumerator in FinalizeAsync to ensure shaders are upgraded before content is finalized.
📊 Mod Details
- Game
- Thunderstore Mods
- Author
- Smooth_Salad
- Version
- 1.0.1
- Downloads
- 1,164,389
- Endorsements
- 10
- Category
- Libraries
- Created
- 1/6/2024
- Updated
- 2/17/2024
- Tags
- Libraries
🔧 How to Install Thunderstore Mods
Use r2modman/Thunderstore Mod Manager. Or manual: install BepInEx, drop mods into plugins folder.
📖 Full step-by-step install guide for Thunderstore →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Thunderstore commands, item IDs, and more.
Keep browsing — more Thunderstore mods await