* - Pull #3 requests.
- Safety check for globals in miracle blight renderer to prevent MP crashes.
* - Fixed load crash.
- Fixed miracle blight effect getting very grainy when using the worldposition.
- RealCos -> cos, as cos is now fixed in mojoshader.
- Method rename for consistency.
* Discard changes to Properties/launchSettings.json
* Discard changes to NPCs/CalamityGlobalNPC.cs
* Discard changes to NPCs/CalamityGlobalNPC.cs
* Update CalamityGlobalNPC.cs
* Update RendererManager.cs
* - Rename for consistency.
- Cached renderers are cleared when unloading.
---------
Co-authored-by: tomat <xxlennygamerxx@gmail.com>
* - Added ManagedRenderTarget to better handle RenderTarget2Ds.
- Added a Graphics folder that contains the above.
- Made all existing RenderTarget2Ds use the above instead.
- Removed some old/reduntant loading code for metaballs.
- Moved PrimitiveTrail to the new Graphics folder.
* - Manually unload the event, as afaik TMod will not do this.
* - Added a drawer system, for making doing more advanced visual effects easier.
- Moved miracle blight's shader effect to use this instead of the old method.
- Ares Body is now vulnerable to miracle blight again, as the visual effect is disabled seperately.
2 - Added utilities to cleanly load shaders, makes the code much more readable
3 - Renamed all of Iban's shaders to have the CalamityMod prefix to avoid crossmod collisions
4 - Renamed Boffin's one shader file from CustomShader.xnb to AstralFogShader.xnb
5 - Omitted the EasyXnb shader compiler from Calamity when it's built, saving ~1.8 MB of space