Marvel Rivals' destructible environment was apparently the 'first major technical challenge' the devs had to overcome

Marvel Rivals promo image - Captain America fighting the Winter Soldier
(Image credit: NetEase)

One of Marvel Rivals' most distinctive features (apart from all the superheroes running around) is the destructible terrain. If you press B, the map in front of you will turn grey, except for everything that you can destroy, which will turn yellow. Give it a try for yourself and you'll see just how much is breakable in this game.

In various places across the maps, you'll be able to find breakable areas that can lead to the enemy backlines or expose a flank. Next to the first point on Tokyo 2099: Shin Shibuya, there's a breakable wall that will expose one of the defending team's paths back to the point. If you break it around head height and then just hold that line of sight, you can kill players before they even make it back to the first point, and usually, they never see it coming.

But taking advantage of the breakable terrain doesn't just make strategic sense; it's also just worth it for the sake of making use of the dev's hard work. The lead technical designer, Ruan Weikang, explained in an interview with Unreal Engine how the destructive environments presented the developers with some pretty significant issues.

First off, the developers had to make sure the rubble fell in distinct motion patterns according to the hero responsible for it. "Whether it's Hulk's devastating punches, Punisher's sustained turret fire, or Storm's sweeping tornados, debris exhibits carefully crafted motion patterns that reinforce each hero's identity," Weikang says. It may not be obvious at first, but Magik's blade and Punnisher's gunfire will break the terrain in slightly different ways.

Then there's the performance cost of having all this large-scale destruction. Initially, I found that Marvel Rivals performed pretty badly, whether I came across harsh FPS spikes, which at times turned my game into a PowerPoint presentation, or it just took an age for the map to load each game. While this has changed for the better since launch, it was apparently in an even worse condition beforehand.

Marvel Rivals Season 1 screenshots

(Image credit: NetEase)

"Implementing large-scale environmental destruction while maintaining competitive performance standards presented our greatest technical challenge," Weikang says. "Fragment count emerged as the critical performance factor. To meet both gameplay and visual requirements, we implemented a two-tiered fragmentation system for static structures (this turns big rubble into little rubble). Additionally, post-fragmentation scenes experienced dramatic increases in polygon count, significantly impacting GPU rendering loads and memory utilization."

To optimise this, the developers had to implement a couple of fundamental improvements. These include hiding the transition from primary to secondary fragments so players' GPUs don't explode and reducing the fragment polygon counts by adding native unsupported LOD functionality to Geometry Collections (assets that can break apart using the fracture mode). However difficult all of this may seem, the biggest obstacle turned out to be how the rubble impacted the lighting in Marvel Rivals.

"Implementing extensive environmental destruction presented our first major technical challenge: selecting an appropriate global illumination solution," lead technical designer Weikang says. "Traditional baking approaches proved inadequate for environments dominated by dynamic objects and frequent lighting changes."

Marvel Rivals tier list - A big group of heroes fighting

(Image credit: Netease)

It turns out that Lumen's software-based ray tracing couldn't quite get the lighting right at first for the destroyed areas of the map. There would be light leakage in the wrong places or just static flat lighting next to the rubble. Now, this isn't a game-breaking issue, but it does look funky and ruins the pretty aesthetic of the maps.

It was only until the team took a hybrid approach to Geometry Collections, "attaching Static Meshes (SM) capable of distance field generation to each fragment," Weikang says. "During the fragmentation process, we convert building collision geometry to SM components and process them simultaneously."

This may sound complicated, but it's essentially just a way to help convince UE5 that the destroyed buildings are consistent material properties, not just confusing rubble. All of this means that when you break a wall, you'll get a nice little shadow in the correct areas. It may not be much, but it sure is honest work.

Elie Gould
News Writer

Elie is a news writer with an unhealthy love of horror games—even though their greatest fear is being chased. When they're not screaming or hiding, there's a good chance you'll find them testing their metal in metroidvanias or just admiring their Pokemon TCG collection. Elie has previously worked at TechRadar Gaming as a staff writer and studied at JOMEC in International Journalism and Documentaries – spending their free time filming short docs about Smash Bros. or any indie game that crossed their path.

Read more
Doctor Strange in Marvel Rivals
Doctor Strange's portals were 'particularly challenging' to add into Marvel Rivals, as they created 'unprecedented performance demand' for Unreal Engine 5
marvel rivals
Marvel Rivals devs conducted 'exhaustive research' to come up with the game's roster of heroes and abilities so it could live up to 'exceptionally high player expectations'
Doctor Strange Close up
Doctor Strange mains are using portals to trick entire Marvel Rivals teams into jumping off a cliff
Mister Fantastic mid ultimate
The best part of Marvel Rivals Season 1 is Mister Fantastic's obnoxiously fun chest-bump attack and his ridiculously OP kit
Squirrel Girl in Marvel Rivals pulls back on her slingshot to destroy some fool with an acorn.
Marvel Rivals is blissful chaos, which makes me worry that—like Overwatch—it'll have all the fun drained out of it once the balancing wars begin
Marvel Rivals tier list - Black Panther
Marvel Rivals' FPS bug puts players with potato PCs at a disadvantage, and that's not the only optimisation issue happening right now
Latest in Third Person Shooter
Marvel Rivals crosshairs - Star-Lord flying up towards the camera with his guns at the ready.
Best Marvel Rivals crosshairs and reticle codes
Mister Fantastic fridge mode
Marvel Rivals announces a new limited-time game mode, Clone Rumble, and manages to pull off a comic caper that players only thought was possible in theory
Jeff, from Marvel Rivals, poses merrily with his cute little winter onesie on.
Jeff the Land Shark's creator tells whiny Marvel Rivals players who can't deal with her hero to buck up: 'Sounds like a skill issue to me, if my boy is beating your ass every night'
Best Free Steam Games - Marvel Rivals - Black Widow aims down a sniper scope.
'The market is large enough to accommodate both games': NetEase is confident it can make space for Marvel Rivals and Overwatch 2
Moon Knight action shot
Marvel Rivals is considering 'crossover events and promotions with other media' but all players want is more comicbook and movie skins
blade marvel rivals
Marvel Rivals fans think NetEase is teasing the Hellfire Gala and Emma Frost in a small excerpt from its newest gallery card
Latest in News
AMD RX 7900 XT with its original packaging.
AMD clawed back 7% graphics market share from Nvidia at the end of 2024, but the outlook for the whole industry in 2025 looks iffy
The creepiest guy leans in front of an NPC mid-conversation in Starfield.
Starfield promises it still exists as silence drives fans to space-madness, but it mostly just annoys everyone: 'They are deliberately choosing not to communicate more'
The Corsair HS65, a wired gaming headset in white and grey, floats in a teal void.
Corsair's HS65 gaming headset is the successor to my fav budget set of cans, and for just $50 it may well convince me to upgrade
sniper elite 5 cover
Sniper Elite CEO reckons Swen Vincke is right to snarl at short-sighted publishers: 'You could argue that their business at senior level isn't making games… their business is managing their shareholders' perceptions'
Phasmophobia Bleasdale Farm rework images
Phasmophobia is getting a big rework for one of its oldest maps, turning the Bleasdale Farmhouse into a horrifying and confusing maze
Seattle, USA - Jul 24, 2022: The South Lake Union Google Headquarter entrance at sunset.
Google is rolling out an even more AI-heavy search engine mode because 'power users want AI responses for even more of their searches'