Commit Graph
120 Commits
Author SHA1 Message Date
Stephen Thiebaud 041a52e096 feat: deprecate baserenderer 2025-12-28 12:56:33 -05:00
Stephen Thiebaud 8e2b48a7d9 fix: remove previously-unverified setrendertarget calls and restore code to a compilable state 2025-12-28 12:56:33 -05:00
Stephen Thiebaud fda6dca5af feat: remove basically every direct call to setrendertarget 2025-12-28 12:56:33 -05:00
Stephen Thiebaud f84d82fc01 fix: clear scoped targets to match swapto behavior 2025-12-28 12:56:33 -05:00
Stephen Thiebaud 955756808d feat: replace every usage of swapto 2025-12-28 12:56:33 -05:00
Stephen Thiebaud 2af9c2209f fix: repair every immediately-obviously-safe rt reference 2025-12-28 12:56:33 -05:00
Stephen Thiebaud 8c05732838 feat: initial removal of every reference to managedrendertarget 2025-12-28 12:56:33 -05:00
Stephen Thiebaud b1e5333d7c fix: some race conditions and collection issues 2025-12-28 12:56:33 -05:00
Stephen Thiebaud 690bd2b72c feat: deprecate swapto and reimplement basic api surface of managedrendertarget with target pools 2025-12-28 12:56:33 -05:00
Stephen Thiebaud 74bba98039 feat: deprecate managedrendertarget 2025-12-28 12:56:33 -05:00
Big E 293a51ebfc + Removed the unused DoGDeathAnimationRenderer 2025-12-26 14:27:21 -05:00
Big E 770efcea10 + Improved DoG Death Dissolve (note: DoGDeathAnimationRenderer can be removed) 2025-12-25 21:38:14 -05:00
doze-zoze e4f57a3df2 clone sounds/dash particles 2025-12-25 13:59:26 -06:00
Dreitone 7af86d63bc cherry-pick: fix unloading 2025-12-19 19:12:20 -06:00
Flowaria 900e9c7632 Wrap Effect Unload with MainThreadAction 2025-12-19 18:36:43 +09:00
Flowaria 28aa87f878 Standardize Metaball Transform Matrix 2025-12-18 12:05:42 +09:00
Flowaria 35731e0278 Metaball now uses accurate draw positions 2025-12-18 11:35:13 +09:00
Flowaria 104ced20da Added GeneralDrawLayerSystem 2025-12-16 17:48:41 -05:00
Cameron Ewell a731cea949 Merge: Primitive rendering improvements 2025-12-15 22:44:56 -05:00
Flowaria 4a83165899 Fixing Faulty RasterizerState and Matrix 2025-12-15 16:41:49 +09:00
Flowaria ccb69d5d53 Restore RendererManager 2025-12-15 14:02:54 +09:00
Dreitone 21a24cf109 Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into tentative-primitive-improvements 2025-12-10 02:15:09 -06:00
Stephen Thiebaud 90ad505cff correct begin calls now 2025-12-10 01:54:48 -06:00
Stephen Thiebaud 69be1d1f12 convert safebegin calls to sbscope but don't fix begin parameters yet 2025-12-10 01:48:41 -06:00
Stephen Thiebaud 8df8dd48aa Merge branch '1.4.4' into try(x)-removal
# Conflicts:
#	Systems/TileMerging/TileBlendTexture_Baking.cs
2025-12-10 01:20:12 -06:00
Stephen Thiebaud a21ff327f6 add end call 2025-12-10 01:06:09 -06:00
Stephen Thiebaud 5ec165c185 restore everything I think 2025-12-10 01:04:54 -06:00
Stephen Thiebaud f237ac77ad port existing uses 2025-12-10 00:52:39 -06:00
Dreitone 39702c32ae prims remake 2025-12-09 08:43:14 -06:00
Dreitone eb621140f2 opts + debugging view 2025-12-09 07:13:21 -06:00
Dreitone 2478f6d17a in minecraft i mean - Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into tentative-primitive-improvements 2025-12-09 04:38:18 -06:00
Dreitone d21e634012 i will strangle imogen 2025-12-09 04:29:10 -06:00
Dreitone 6eaf814a7b temporarily prevent 'renderers' from running 2025-12-09 01:29:30 -06:00
doze-zoze fb868fc173 prim system now also passes vertex positions to the functions 2025-12-08 13:20:38 -05:00
Altixal 332a379690 unused field crunching 2025-12-08 16:26:07 +07:00
Dreitone a65579270e temporarily scopeify a safebegin call 2025-12-08 02:29:10 -06:00
Stephen Thiebaud c1ae71e028 feat: slight clean up and kill off some warnings 2025-12-04 21:42:00 -06:00
Flowaria 135595e229 Replace DyeableShader ILHook to GlobalItem Hook 2025-12-01 13:21:19 +09:00
fryzahh 4c5ca67c3c Merge branch '1.4.4' into graphical-system-additions 2025-11-15 16:45:19 -04:00
fryzahh b33a70fd08 GeneralDrawLayer generalization + TempParticle start
* Split up GeneralDrawLayer.BeforeTiles into BeforeAllTiles and BeforeSolidTiles.
* Moved screen renderers, metaballs and pixelated primitive drawing to use GeneralDrawLayer and subsequentially removed their own draw layer enums.
* Moved screen renderers, metaballs, particles, pixelated primitive drawing and pixelated drawers draw calls to MechanicalILChanges.
* Added TempParticle and TempParticleManager, used for defining temporary particle handlers in any file for short-term, fully-modifiable particle effects
* Removed ParticleAutoDrawingOverride and added a "CustomShader" property and "PrepareCustomShader" method to Particle.cs. These should be used in conjunction when wanting to apply shader effects to particles. If anything more precise is needed, use the new TempParticleManager class.
2025-11-15 16:41:52 -04:00
Stephen Thiebaud 047332a217 feat: follow-up simplify handling of ManagedTargets 2025-11-13 13:15:15 -06:00
Wxo 7a7d271eef Fix: Remove ManagedTargets reinitialization in OnModLoad (#93)
Removed the unnecessary reinitialization of ManagedTargets in ModLoad because it removed some of the rendertargets on the mod that loaded before OnModLoad

(cherry picked from commit 70e56bd445884a4f5b914cafadef1cc6f628eaf6)
2025-11-13 13:14:11 -06:00
Stephen Thiebaud 311e17931f feat: use Asset<Effect> over Effect 2025-11-11 18:06:48 -06:00
doze-zoze ea1816a420 scal background changes 2025-11-03 22:05:12 -05:00
doze-zoze 5519278130 no longer uses index 0 for boss arena checks, and unloads on world unload 2025-10-31 15:55:04 -04:00
doze-zoze f6a4161184 scal arena visuals + minor hook fix + enrage fix 2025-10-31 15:55:04 -04:00
doze-zoze e56b90faef metaballs can now ignore fps 2025-10-31 15:55:04 -04:00
doze-zoze e0dc385328 new clone projectile visuals 2025-10-31 15:55:04 -04:00
Flowaria aa3a152484 Possible NullRef Fix for DoG Death Anim Renderer 2025-10-26 14:08:34 -04:00
doze-zoze 00cddfed05 Bloodstone Orb visual changes 2025-10-21 17:41:53 -05:00