Firebirds: Motion Blur in War Thunder
In a video game, images are created from scratch, each frame displays a single point in time. Real cameras or even our eyes dont work like this. Taking a picture takes time, and over this time the world doesnt always stand still. If an object moves while were taking the picture, it will appear in all those places at the same time on the final image. This is what we call motion blur.
Actual screenshot from War Thunder (Seek & Destroy trailer)
To simulate the effect of motion blur, we need to know how every pixel has moved since the last frame. This requires all animations and moving effects to report their current and old positions. It can be one of the hardest parts of making this feature work. But thankfully we already had this working for anti-aliasing techniques. The few animations that didnt support this became very easy to spot because motion blur turned them into a big blurry smudge. So we fixed them quickly! For a starting point, we used a proven technique for implementing the effect, you can read more about that here. Basically we check where a pixel was in the last frame and where it is now, then we blur this pixel along the line in between.
Clean separation of foreground and background To make calculations more efficient and smooth out some edges, the line is also blurred in the forward direction extending the line past the current pixel position. To speed things up further we make some decisions together for bigger blocks of pixels based on their general direction. Each pixels distance from the camera also needs to be considered to let us blur the background and the foreground separately. The blurred line of a background pixel can sometimes pass behind a still standing, sharp object in the foreground. Other times we need to keep the background sharp while a foreground pixel is blurred on top. When two objects blur together in a single pixel, their individual speed is also important because sometimes neither must stay sharp.
Of course we needed to make some tweaks to shape it to our needs. To decide how to blur a pixel we need to know its speed. But what if theres no single answer because there is more than one thing visible in the same point? Without special care, transparency is invisible to the algorithm. In War Thunder, we have glass cockpits and colored light bulbs attached to planes flying over trees while breaking the sound barrier. So we needed to treat glass surfaces somehow. Here, we have completely different speeds all on the same pixel. The glass is steady but the forest behind it is very fast. We ended up using a similar trick as with the background-foreground separation. If we see something through glass, we treat that as one category, while directly visible objects are another. We dont blur one category on top of another but we allow mixing within categories. This way we achieve images where the background is blurred through the glass but the glass itself can maintain its sharp silhouette. Note: at the time of writing this post, special treatment of transparency is only enabled if Motion Blur is maxed out.
Blurred background through sharp glass
Blurred background through sharp glass
Since we only have a single known speed for each pixel, fast moving transparent objects wont be blurred, only the background objects you can see through them. This also means that reflections on such surfaces can only be blurred based on the background. To create a perfect effect we would need perfect information. Even if we know a pixels screen position in both the past and the current frame, we dont know what path it took between the two. We just blur it in a line, as if it was moving straight, which is almost always good enough. One important exception is the wheels of vehicles. Here, one point on the wheel can move to the opposite side in a single frames time. Assuming straight movement here is far from reality. For the time being this issue is not solved, wheels will need a custom method for correct motion blur that works on different principles.
Foreground motion blur with overblurred wheels
Motion blur is visible not only for fast moving objects, but also if the camera itself moves. On film this is a very common effect, but in our natural vision the eye usually locks onto objects keeping the world more steady for us. Video game motion blur is cinematic it looks like a real movie made with real cameras. But its not like seeing the world with your own eyes. To better simulate human vision, we added an option to disable motion blur caused by the movement of the camera. This will still blur fast moving objects like planes flying by, or exploding debris, but will keep the image sharp when youre just looking around.
Camera blur off, only the turret is moving
Turning the turret with full motion blur
We hear this question a lot and internally had conversations about this as well. Some say it gives the feeling of motion and makes the experience more immersive. While others say it makes it harder to aim for moving targets, it removes clarity thats important for competitive play. Well, they are both right. Its a matter of taste and what you want from the game. If youre most interested in winning and climbing the ladder, it may not be for you feel free to turn it off. Were completely fine with that. But if youve already won and youre making a highlight reel from your replays, or just want to feel the speed as youre flying, you can max it out and use it for a movie quality effect. Comparisons [expand type=details] Before
After
Before
After
Before
After
[/expand]
[ 2024-11-15 12:07:27 CET ] [ Original post ]
Today, were taking a look at motion blur in War Thunder what it is, how its implemented in the game, and what challenges we were facing. War Thunder goes to the movies!
What Is Motion Blur?
In a video game, images are created from scratch, each frame displays a single point in time. Real cameras or even our eyes dont work like this. Taking a picture takes time, and over this time the world doesnt always stand still. If an object moves while were taking the picture, it will appear in all those places at the same time on the final image. This is what we call motion blur.
Actual screenshot from War Thunder (Seek & Destroy trailer)
Explanation Of The Basics
To simulate the effect of motion blur, we need to know how every pixel has moved since the last frame. This requires all animations and moving effects to report their current and old positions. It can be one of the hardest parts of making this feature work. But thankfully we already had this working for anti-aliasing techniques. The few animations that didnt support this became very easy to spot because motion blur turned them into a big blurry smudge. So we fixed them quickly! For a starting point, we used a proven technique for implementing the effect, you can read more about that here. Basically we check where a pixel was in the last frame and where it is now, then we blur this pixel along the line in between.
Clean separation of foreground and background To make calculations more efficient and smooth out some edges, the line is also blurred in the forward direction extending the line past the current pixel position. To speed things up further we make some decisions together for bigger blocks of pixels based on their general direction. Each pixels distance from the camera also needs to be considered to let us blur the background and the foreground separately. The blurred line of a background pixel can sometimes pass behind a still standing, sharp object in the foreground. Other times we need to keep the background sharp while a foreground pixel is blurred on top. When two objects blur together in a single pixel, their individual speed is also important because sometimes neither must stay sharp.
Technical Challenges In War Thunder
Of course we needed to make some tweaks to shape it to our needs. To decide how to blur a pixel we need to know its speed. But what if theres no single answer because there is more than one thing visible in the same point? Without special care, transparency is invisible to the algorithm. In War Thunder, we have glass cockpits and colored light bulbs attached to planes flying over trees while breaking the sound barrier. So we needed to treat glass surfaces somehow. Here, we have completely different speeds all on the same pixel. The glass is steady but the forest behind it is very fast. We ended up using a similar trick as with the background-foreground separation. If we see something through glass, we treat that as one category, while directly visible objects are another. We dont blur one category on top of another but we allow mixing within categories. This way we achieve images where the background is blurred through the glass but the glass itself can maintain its sharp silhouette. Note: at the time of writing this post, special treatment of transparency is only enabled if Motion Blur is maxed out.
Blurred background through sharp glass
Blurred background through sharp glass
Limitations
Since we only have a single known speed for each pixel, fast moving transparent objects wont be blurred, only the background objects you can see through them. This also means that reflections on such surfaces can only be blurred based on the background. To create a perfect effect we would need perfect information. Even if we know a pixels screen position in both the past and the current frame, we dont know what path it took between the two. We just blur it in a line, as if it was moving straight, which is almost always good enough. One important exception is the wheels of vehicles. Here, one point on the wheel can move to the opposite side in a single frames time. Assuming straight movement here is far from reality. For the time being this issue is not solved, wheels will need a custom method for correct motion blur that works on different principles.
Foreground motion blur with overblurred wheels
Is It Realistic?
Motion blur is visible not only for fast moving objects, but also if the camera itself moves. On film this is a very common effect, but in our natural vision the eye usually locks onto objects keeping the world more steady for us. Video game motion blur is cinematic it looks like a real movie made with real cameras. But its not like seeing the world with your own eyes. To better simulate human vision, we added an option to disable motion blur caused by the movement of the camera. This will still blur fast moving objects like planes flying by, or exploding debris, but will keep the image sharp when youre just looking around.
Camera blur off, only the turret is moving
Turning the turret with full motion blur
Is Motion Blur Good For Our Games?
We hear this question a lot and internally had conversations about this as well. Some say it gives the feeling of motion and makes the experience more immersive. While others say it makes it harder to aim for moving targets, it removes clarity thats important for competitive play. Well, they are both right. Its a matter of taste and what you want from the game. If youre most interested in winning and climbing the ladder, it may not be for you feel free to turn it off. Were completely fine with that. But if youve already won and youre making a highlight reel from your replays, or just want to feel the speed as youre flying, you can max it out and use it for a movie quality effect. Comparisons [expand type=details] Before
After
Before
After
Before
After
[/expand]
War Thunder
Gaijin Entertainment
Gaijin Entertainment
2013-08-15
Simulation MMO Singleplayer Coop
Game News Posts 2451
🎹🖱️Keyboard + Mouse
🕹️ Partial Controller Support
Mostly Positive
(549231 reviews)
http://warthunder.com/
https://store.steampowered.com/app/236390 
The Game includes VR Support
Keyboard & mouse
 1 
Gamepad support
 1 
Seated
 1 
War Thunder Linux [48.49 M]War Thunder Content [32.31 G]War Thunder - Ground Forces High-res Texture Pack (1945840) Depot [29.53 G]War Thunder - Air Forces High-res Texture Pack (1945841) Depot [19.32 G]War Thunder - Environment High-res Texture Pack (1945930) Depot [5.42 G]
War Thunder - Plagis' Spitfire LF Mk. IX
War Thunder - T29 Pack
War Thunder - Guards T-34 Pack
War Thunder - Ray Wetmore`s P-51D-10 Pack
War Thunder - Black Prince Pack
War Thunder - T-34-85E, 1945 Pack
War Thunder - M18 Black Cat Pack
War Thunder - Sergei Dolgushin's La-7 Pack
War Thunder - US Starter Pack
War Thunder - USSR Beginner's Pack
War Thunder - German Beginner's Pack
War Thunder - Huey Hog Pack
War Thunder - Haida Pack
War Thunder - British Beginner's Pack
War Thunder - Japanese Beginner's Pack
War Thunder - XM-1 General Motors Pack
War Thunder - Apache Pack
War Thunder - Leopard Pack
War Thunder - T-55AM-1 Pack
War Thunder - USA Pacific Campaign
War Thunder - Japanese Pacific Campaign
War Thunder - Italian Starter Pack
War Thunder - Japanese Starter Pack
War Thunder - British Starter Pack
War Thunder - USA Pacific Campaign (YP-38)
War Thunder - French Starter Pack
War Thunder - Black Friday 2022 Pack
War Thunder - T-72AV (TURMS-T) Pack
War Thunder - Black Shark Pack
War Thunder - German Fiat G.91 R/4 Pack
War Thunder - Reaper Pack
War Thunder - Rooikat 105 pack
War Thunder - Swedish Starter Pack
War Thunder - F-5C Pack
War Thunder - Su-7BMK Pack
War Thunder - MiG-21 SPS-K Pack
War Thunder is a free-to-play, cross-platform MMO combat game for Windows, Linux, Mac and PlayStation®4 dedicated to military vehicles used in and around World War II and the Korean War. In War Thunder, you can take part in major battles on land, in the air, and at sea, fighting with real players from all over the world in a continuously developing environment.
War Thunder already offers a highly detailed experience in military aviation and ground forces combat, giving players access to a Guinness World Record breaking number of aircraft, as well as an abundance of tanks and other combat vehicles - and the number is constantly rising.
You can feel the unmatched intensity of aerial dogfights in a fighter, the decisive power of commanding a heavy strategic bomber or the heat of battle in a ground attacker, delivering precision strikes against your enemies. Alternatively, you can join the spearhead of armoured vehicles, fighting for dominance over the battlefield on the ground: Man a heavy tank with impressive armour and firepower, use the maneuverability of a medium or light tank to your advantage, or support your team by screening the skies with your anti aircraft vehicle - the choice is yours!
In the future, the game will also allow players to ‘set sail’ by commanding a variety of warships in the fight over the control of the world’s oceans, giving the game a truly epic scale.
Master your vehicles through both upgrades and personal experience in an environment that is constantly expanding and rewarding the personal skill of the player. Organise your efforts in one of the countless player squadrons and become an ace pilot or tanker - or both! Our thriving and welcoming community of millions of players is also actively participating in the game’s ongoing development, offering custom content through War Thunder Live, such as skins, missions and even vehicles.
War Thunder has something for everyone. Play cooperative games with your friends on Windows PC, Linux, Mac or PlayStation 4 against AI, or squad up for a PvP battle in a difficulty setting matching your play style, ranging from Arcade to Simulator using Mouse and Keyboard, Gamepad or Joystick.
War Thunder already offers a highly detailed experience in military aviation and ground forces combat, giving players access to a Guinness World Record breaking number of aircraft, as well as an abundance of tanks and other combat vehicles - and the number is constantly rising.
You can feel the unmatched intensity of aerial dogfights in a fighter, the decisive power of commanding a heavy strategic bomber or the heat of battle in a ground attacker, delivering precision strikes against your enemies. Alternatively, you can join the spearhead of armoured vehicles, fighting for dominance over the battlefield on the ground: Man a heavy tank with impressive armour and firepower, use the maneuverability of a medium or light tank to your advantage, or support your team by screening the skies with your anti aircraft vehicle - the choice is yours!
In the future, the game will also allow players to ‘set sail’ by commanding a variety of warships in the fight over the control of the world’s oceans, giving the game a truly epic scale.
Master your vehicles through both upgrades and personal experience in an environment that is constantly expanding and rewarding the personal skill of the player. Organise your efforts in one of the countless player squadrons and become an ace pilot or tanker - or both! Our thriving and welcoming community of millions of players is also actively participating in the game’s ongoing development, offering custom content through War Thunder Live, such as skins, missions and even vehicles.
War Thunder has something for everyone. Play cooperative games with your friends on Windows PC, Linux, Mac or PlayStation 4 against AI, or squad up for a PvP battle in a difficulty setting matching your play style, ranging from Arcade to Simulator using Mouse and Keyboard, Gamepad or Joystick.
Features include:
- An entire arsenal at your command - Over 500 highly detailed aircraft, tanks, and other combat vehicles crafted carefully from historical documents and surviving sources.
- Right into the heat of battle - Intense PvP experiences in full-scale combat missions on various difficulty settings for all play styles and degrees of experience.
- A single bullet can make a difference - A realistic damage system for aircraft and ground vehicles involving individual component durability instead of an overall health bar.
- The true free to play experience - Download and play the game for free as much and as long as you like it. Support the ongoing development entirely at your own leisure.
- Crossing the platform border - Seamless cross-platform gameplay between Windows PC, Linux, Mac and PlayStation®4 (more to come) with tens of thousands of players from all over the globe online at the same time.
- Play together with your friends - Rich PvE content including historical and dynamic campaigns, solo missions, a mission editor and much more for single-player and cooperative gameplay.
- Challenge the best of the best - Ever expanding tournament and clan battle systems, including ELO-based ranked matches as well as professionally organized events involving hundreds of players.
- Theatrical beauty - Astonishing graphics, authentic sound effects and beautiful music creating an atmosphere to fully immerse yourself in.
- Take matters in your own hands - Create custom content for War Thunder and share it on War Thunder Live, with the prospect of earning real money through the Revenue Share Partner System!
- But wait, there is more! - Ever expanding and evolving environment, offering new and exciting content and features with every regular major update.
MINIMAL SETUP
- OS: Most modern 64bit Linux distributions
- Processor: Dual-Core 2.4 GHzMemory: 4 GB RAM
- Memory: 4 GB RAM
- Graphics: NVIDIA 660 with latest proprietary drivers (not older than 6 months) / similar AMD with latest proprietary drivers (not older than 6 months; the minimum supported resolution for the game is 720p) with Vulkan support.Network: Broadband Internet connection
- Storage: 40 GB available space
- OS: Ubuntu 20.04 64bit
- Processor: Intel Core i7Memory: 16 GB RAM
- Memory: 16 GB RAM
- Graphics: NVIDIA 1060 with latest proprietary drivers (not older than 6 months) / similar AMD (Radeon RX 570) with latest proprietary drivers (not older than 6 months) with Vulkan support.Network: Broadband Internet connection
- Storage: 95 GB available space
GAMEBILLET
[ 5137 ]
GAMERSGATE
[ 1903 ]
FANATICAL BUNDLES
HUMBLE BUNDLES
by buying games/dlcs from affiliate links you are supporting tuxDB