ShaderSwapper

⭐ — (10 endorsements) 📥 1.2M downloads 📌 v1.0.1 📅 1/6/2024
⚪ Last updated 2024

By Smooth_Salad · Libraries

⬇ Download Mod Source: Thunderstore ↗ 📅 Updated: 2/17/2024 📅 Created: 1/6/2024

🔍 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.

🤖 AI-enhanced — based on mod data

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

Upgrades stubbed shaders to real shaders at runtime, preserving material properties.
Provides asynchronous methods that can be started as coroutines from your plugin.
Works with any asset bundle, not just RoR2-specific ones.
Requires materials with stubbed shaders to be explicitly included in asset bundles.
Includes links to related tools like RoR2StubbedShaders and RuntimeMaterialInspector.

📊 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.
🎯 Is This For You?
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.
📦 Install:Easy· Under 1 minute

💡 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

📋 All Thunderstore Mods 🏆 Top 25 📂 More Libraries 👤 More by Smooth_Salad 🔎 Similar Mods 🌐 Best Libraries (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods