Afterimages
Adds afterimages to whatever characters you play ! Now with custom shader support and NO memory leak (as far as i know)NOTE: IF YOU ARE MIGRATING FROM 1.0.0 TO THE NEWEST VERSION, REMEMBER TO CLEAR YOUR CONFIG
[rw]Afterimages
A BepInEx plugin for Bomb Rush Cyberfunk that adds customizable afterimage effects for various player movement states.
Features
- Afterimage trails for different player abilities and states
- Highly configurable, so you can choose the gradients, fade speeds, and intervals for every state!
- Support for texture-based gradients!
- Separate settings for:
- Boosting
- Ground tricks and boost tricks
- Air tricks and boost tricks
- Slide states (normal, slope, super)
- Air dash
- Grind states (normal, tricks, boost tricks, cornering)
- AND MORE!
Configuration
The mod creates a configuration file at BepInEx/config/rewind.rwafterimages.cfg with settings for each afterimage type and a corresponding folder.
Put gradient textures (e.g. PNGs) and your own .shaderbundle files in BepInEx/config/rewind.rwafterimages/.
Settings
Each movement state has the following configurable options:
-
Enabled: Enable/disable afterimages for this state
-
ShaderName: Shader to render the afterimages with (see Shaders). Defaults to
Afterimage/Default -
GradientTextureFile: Gradient image the shader can use to color the afterimage (defaults to
Default.png). Looked up in the config folder, then the plugin'sgradientsfolder -
FadeSpeed: Fade curve exponent. Values above
1fade faster at first; values below1fade slower. -
Interval: Time between spawning afterimages
-
Lifetime: How long each afterimage lasts
-
Priority: Higher priority styles override lower ones
-
Speed state: The Speed state activates when movement exceeds
ActivationSpeed(default16u/s)
Optimization > MaxAfterimages limits the number of active afterimages (default 500). When the limit is
reached, the oldest afterimage is removed first.
For additional cleanup, enable Optimization > CullOffscreenAfterimages to immediately destroy
afterimages outside the main camera's view. This option is disabled by default.
Shaders
Every afterimage is drawn by a shader that controls its whole look.
Each shader's own settings show up in the config (and the Configuration Manager menu) under Shader: ... and any number of custom shader bundles (*.shaderbundle) can be loaded at once.
Troubleshooting
No Afterimages Appearing
- Check that the desired state is enabled in the config
- Check that
GradientTextureFile(if set) exists in the config folder or the plugin'sgradientsfolder
Custom Shader Not Showing Up
- Look for
[ShaderManager]lines inBepInEx/LogOutput.log
Performance Issues
- Increase the Interval values to spawn fewer afterimages
- Decrease Lifetime to make them disappear faster
- Lower the afterimage limit
- Turn on CullOffscreenAfterimages
