TaleWorlds Showcases Mount & Blade II Engine Global Illumination Improvements

Mar 12, 2018 at 07:00am EDT

TaleWorlds Entertainment is taking its time developing the highly anticipated Mount & Blade sequel. However, they have been regularly publishing blog posts on the game's official Steam forums and the latest entry focuses specifically on the new Mount & Blade II engine improvements, starting with the rather impressive Global Illumination technology you can see in the video below.

Last year, TaleWorlds provided a lengthy explanation for not providing a Mount & Blade II release date at Gamescom 2017. Let's hope they'll be able to announce the launch date at Gamescom 2018 in August.

Related Story Mount & Blade II: Bannerlord Could Be Launching on October 25th

Global Illumination

We introduced a new global illumination system to the Mount & Blade II engine which can correctly illuminate both static and dynamic objects. It is based on a pre-baked system called "Precomputed Radiance Transfer". It is independent from the atmosphere, which is a must for a game like Bannerlord where you will enter a scene at different times of the day. The system saves the illumination data to probes inside a regular grid. We developed lots of automatic placement tools so that the work required by artists to bake the scenes is kept to a minimal. Modders will be able to bake GI to their scenes using these tools.

Compute Shader Skinning

By using profilers we have learnt that in large-scale battles the majority of the GPU time is spent on the skinning of agent meshes. Normally, the skinning process is repeated every time a mesh needs to be rendered (shadow pass, gBuffer pass, special passes for custom hair shading etc.). To combat this, skinning calculations of skeletal meshes have been moved from the vertex shader stage to a separate compute shader stage. Despite both stages running on the GPU, executing a separate stage for skinning and storing results in temporary memory enables us to do skinning calculations only once per frame and use special optimisation mechanisms that are exclusive to compute shaders. This results in the rendering time of skinning meshes being reduced by 60% which enables us to achieve 60FPS in huge battle scenes on a wide range of GPUs.

Particle Shading Atlas

Particles are now shaded in a separate compute shader stage. Each visible particle is assigned a rectangular region (2x2, 4x4, 8x8, 16x16 or 32x32) in a big global texture atlas according to its screen space size. Shading is done on these tiny quads with a compute shader stage. During the actual rendering, we just sample the lighting result from the atlas texture and skip any complex lighting computation. Separating shading and drawing stages enables us to reduce the fill rate costs of particles since the amount of shaded pixels are extremely reduced. This reduces the high GPU cost of the desert-like scenes. This technique also eliminates the sharp shadows on the particle quads, further increasing the visual quality of the already beautiful particles of Bannerlord!

At this point we feel it is important to stress the fact that while yes, we are still developing the Mount & Blade II engine and making new additions: this work is running entirely parallel to the development of Bannerlord. Our dedicated engine team are constantly striving to give us a better optimised Mount & Blade II engine which allows us to have larger battles, higher frame rates, greater visual fidelity and faster loading times. This work doesn’t hold back the development of the game in any way, shape or form and will ultimately improve the overall quality of the final product.

About the author: With over two decades of experience in gaming journalism, Alessio Palumbo has led the gaming vertical at Wccftech since August 2015. He started working at a young age for Italian websites like Everyeye.it, Gamestar.it, Nextgame.it, and Multiplayer.it before kickstarting the indie English-language publication Worlds Factory as its founder and Editor in Chief. In the last decade, he has coordinated the overall output of Wccftech's gaming section, managed PR relations, assigned reviews, produced daily news coverage, edited gaming content as needed, and delivered game reviews. Arguably, his trademark content is the long series of exclusive developer interviews that have been cited by Wikipedia and by the biggest news media and gaming publications. His passion for technology also makes him knowledgeable when it comes to gaming hardware and tech. His favorite genres include RPGs, MMORPGs, and action/adventure games.

Follow Wccftech on Google to get more of our news coverage in your feeds.