Status
SteamPeaks
ChartsSalesUpcomingPatchesNewsCalculator
New on SteamEvery app, DLC and depot the minute Steam creates itAppsEvery app on Steam, newest change firstPackagesSubs and bundles, and what each containsDepotsDepots, manifests and install sizesTagsSteam's user tags and the games under themDevelopers & publishersCompanies and their cataloguesTechnologiesEngines, SDKs and anti-cheat found in the filesChange historyEvery PICS changelist as it lands
SignalsNineteen readings of the whole catalogueCompareAny games side by sideRecordsAll-time peaks and the days they were setReportsWeekly and monthly write-upsAlerts & newsroomWatch a game, get told when it movesSteam statusIs Steam up, right nowWeb API explorerTry the endpoints in the browser
NewsSteam's own announcements and the sales calendarCalculatorWhat a Steam account is worth, and its pile of shame
/
Sign in
/
SteamPeaks
The ultimate resource for Steam data.
ExploreChartsSalesSales and festsUpcomingPatchesNewsRecordsTrendingSignals
DatabaseAppsPackagesDepotsTagsDevelopersTechnologiesChange history
ToolsCalculatorCompareSearchAlertsSteam statusAPI
SiteMethodologyFAQDiscordSupportSign in via Steam
Not affiliated with Valve or Steam. Game names and artwork belong to their owners. All times UTC.
PrivacyCookiesFair useStatus
MoteMancerNewsMonday Musings #60 – Portals and Particles
Community

Monday Musings #60 – Portals and Particles

MoteMancer · published 4 Aug 2026, 00:00 UTC

All newsPlayers around this dateRead on Steam

As I've been looking through the toolbox for ways to bring buildings to life, one nagging problem has remained unsolved: particle interactions with portals.

MoteMancer's solution to Portals is not super common among games. That brings the benefit of being a novel effect to many players, but also one that presents many hoops to jump through.

Proof of Concept

I still remember the first proof of concept I did for what live portal swapping could look like, and how a 2d-live portal transition could work. I dug through my old video library and found it, preserved here for your viewing pleasure as an example of real scrappy-dev energy:

I also spun up this visual proof that you could co-locate portals and they would create a complete circuit. I ended up spacing portals out a little further than this in the end, but you technically only need 2 unique locations to complete the 6-plane circuit. Read it in a circle.

And then there were stencils

There's a built-in Unity paradigm called stenciling that allows you to draw inside or outside a given area, this is supported inside their basic Sprite Renderer, which means cutting any image by the stencils is a breeze.

The catch is there's a big difference between “supported by most things” and “supported by everything.”

Every custom shader I wrote needed to add a custom stencil block to the code. Any shader made specifically in Shader Graph (as opposed to just writing the code by hand) needed to be exported and hacked into compliance. Granted it did work, but the process is very time consuming and slows iteration down quite a bit.

On the bright side, it forced me to learn how to automate some of the processes, and now adding stenciling to anything is a button click. If you ever find yourself doing the same action over and over - especially one you have to relearn every few weeks - taking the time to write a small tool will save hours of future sanity. Highly recommended.

With that trick in the bag, the result is mostly convincing, and it even works with the mega-shader that handles all of MoteMancer's structures.

But then there were particles

Unity currently has two main flavors of particles: the old-school Particle System, commonly called Shuriken, and the newer VFX Graph.

Neither is strictly better than the other, but VFX Graph performs its particle calculations on the GPU. That's ideal for MoteMancer because it keeps that work away from the CPU running the automation simulation. They're also incredibly cheap. Even with tens of thousands of VFX Graph particles running through Fire Wires, they're still cheaper than turning those same lines into geometry.

But there's a catch which you've probably guessed by now: they don't play nicely with stenciling.

The problem has been partially invisible for a while because the particles at least sort correctly. If you're standing on Life and looking down into Water, you would never notice. But if you're standing on Water and looking up into Life...

So far, this hasn't been as bad as it could be because only Fire Wires and Mote Patch particles are especially abundant. But in a world where nearly every structure wants the aesthetic benefit of lively particle motion, the problem becomes considerably larger.

So what's the solution?

While I usually have a pretty good beat on a problem, today my answer is: I don't know yet.

There are several paths I'm chasing. Hacking the shader in the usual way has so far proved fruitless; VFX Graph is more stubborn than most. I think there's a version where I pass a portal mask into the graph and use it to eliminate particles outside the visible area, but that may be expensive at the scale MoteMancer needs. I could also fall back to Shuriken, but that begins moving the cost back onto the CPU, which I'd rather avoid.

Really the main thing I'm musing about today is that all problems are hard until they are easy, and it is important to share roadblocks just as much as triumphs. They are undeniably part of the process. One thing I've learned though over many years of development: Tenacity is often the best tool you have.

So in that spirit, back to the Lab!
~CyanAvatar 🌿

More from MoteMancer

Other announcements

All news
Community14 Sep 2026Monday Musings #63 – Nice to HavesIt's funny, while working through the Alchemists Journal feature and finding all the ways I want to teach lessons inside the game, many of the nice-to-have features have bubbled to the surface as features worth chasing. Many of these requests have been sitting around for over a year. The Journal gave some of them a way into the game, and once I started pulling on that thread, apparently I had t…Community31 Aug 2026Monday Musings #62 – The Advent of the Alchemist's JournalI have been talking about this feature for literally a year, and today is finally the day to put it in the game. MoteMancer has many unique rules and behavior and systems, and just a lot to learn in general, so naturally one of the things the game needs is a little bit of a guide to help you along the way. I specifically tried to set up the world where both the player's character and the player…Community17 Aug 2026Monday Musings #61 – Multi-Texture ParticlesWhen I was at school for computer animation, we had a saying - "Is it enough to fool the bartender?" The thing about graphics in general is you can spend almost an infinite amount of time making something better and at some point you must surrender your art to your audience. Along the way though, sometimes you find a technique that satisfies your innate need to push just a little further, witho…