Remastering Classic Games with Texture Upscaling | AI and Games #61

AI and Games
28 Aug 202120:03

TLDRThis video explores the use of AI in upscaling textures for classic games, enhancing their visual appeal on modern hardware. It discusses the process of super-resolution, which uses deep learning algorithms to generate higher resolution images while maintaining the original artistic intent. The video highlights examples such as the Mass Effect Legendary Edition and mods for games like DOOM and Max Payne, showcasing the impact of AI on the gaming industry and the potential for future developments in this field.

Takeaways

  • 🎮 The graphical quality of video games has improved over time with new hardware generations, but older games are limited by their original textures.
  • 🚀 AI can be used to upscale textures from older games, making them larger, crisper, and more detailed for higher resolutions.
  • 🌐 Super resolution is a process where a deep learning algorithm generates a higher resolution version of an image while maintaining the original intent.
  • 🎨 In 3D games, objects are made of models and textures, with multiple textures applied for different lighting conditions and details.
  • 📸 Upscaling 3D game textures at higher resolutions can result in pixelated and low-quality textures since they were not designed for modern displays.
  • 🤖 AI upscaling uses machine learning models to reproduce the original image at a higher resolution, reducing pixelation and artifacts.
  • 🛠️ The technique relies on Generative Adversarial Networks (GANs), with one network upscaling the image and another assessing the quality and authenticity of the upscaled image.
  • 🌟 ESRGAN (Enhanced Super-Resolution Generative Adversarial Network) is a specific type of GAN that retains sharpness and detail in textures better than other methods.
  • 🎮 Modding communities have been using AI upscaling to create texture packs for classic games, improving their appearance on modern hardware.
  • 📈 The games industry is beginning to adopt AI upscaling as part of the art production process for remastering classic games.
  • 🔍 AI upscaling is not perfect and high-quality original images are needed for best results; it serves as a starting point for human artists to refine further.

Q & A

  • What is super-resolution in the context of video games?

    -Super-resolution refers to the process of using deep learning algorithms to generate a higher resolution version of an image while maintaining the original artist's intent. In video games, it's used to enhance the textures of older games so they appear clearer and more detailed on modern hardware with higher resolutions.

  • How does texture upscaling benefit older 3D video games?

    -Texture upscaling benefits older 3D games by enhancing the quality of the textures used on models and environments. Since these games were originally designed for lower resolutions, upscaling allows the textures to look less pixelated and more detailed, improving the overall visual experience on modern displays.

  • What is the difference between DLSS and texture upscaling?

    -DLSS (Deep Learning Super Sampling) is an upscaling technology that enhances the resolution of games during gameplay, using less GPU resources by rendering at a lower resolution and then upscaling. Texture upscaling, however, is performed in advance during development, enhancing textures that are then used directly in the game, requiring higher GPU power and memory.

  • Can AI upscaling add new details to textures?

    -AI upscaling cannot add new information that wasn't originally present in the texture. It works to minimize noise and pixelation, enhancing clarity, but any new details must align with what was already encoded in the image.

  • What is the role of a Generative Adversarial Network (GAN) in texture upscaling?

    -In texture upscaling, a Generative Adversarial Network (GAN) uses two neural networks: a generator and a discriminator. The generator attempts to upscale the image to higher quality, while the discriminator assesses the upscaled images for authenticity. The interaction improves the fidelity of the upscaled image to the original's artistic intent.

  • Why do modern games sometimes use downsampled textures?

    -Modern games often use downsampled textures to meet the varying resolution and memory budget constraints of different gaming platforms. This approach allows the original high-resolution textures to be resized to lower resolutions without significant loss of detail, ensuring optimal performance across platforms.

  • How do modding communities contribute to texture upscaling?

    -Modding communities play a crucial role in texture upscaling by creating and distributing enhanced texture packs for classic games. These communities use AI tools to upscale original game textures, often improving the visual quality significantly and revitalizing interest in older games.

  • What are some commercial tools mentioned for super-resolution?

    -Commercial tools mentioned for super-resolution include Topaz Labs' software for image denoising and sharpening, Nvidia's NGX development tools for upscaling, and Adobe's Camera Raw super-resolution feature.

  • What challenges are associated with super-resolution in video games?

    -Challenges with super-resolution in video games include maintaining the artistic integrity of the original textures, avoiding artefacts that can arise from extreme upscaling, and ensuring that upscaling does not introduce inconsistencies between different types of textures like diffuse and normal maps.

  • What impact has ESRGAN had on the gaming industry?

    -The Enhanced Super-Resolution Generative Adversarial Network (ESRGAN) has significantly impacted the gaming industry by providing a powerful tool for texture upscaling, leading to sharper and more detailed textures in both remasters and mods, and has been instrumental in the ongoing evolution of game graphics.

Outlines

00:00

🎮 Evolution of Video Game Graphics and AI's Role

This paragraph discusses the continuous improvement in the graphical quality of video games with each new generation of hardware. It highlights the common practice of re-releasing and remastering older games to make them compatible with modern hardware. However, these games are limited by their original textures, which were not designed for high resolutions. The paragraph introduces the concept of using AI to enhance these textures, allowing older games to be displayed at higher resolutions without losing detail or clarity. The host, Tommy Thompson, sets the stage for the episode by explaining that the discussion will focus on the process of super-resolution, which uses deep learning algorithms to generate higher resolution images that maintain the original artistic intent.

05:01

📚 Understanding Graphics in 2D and 3D Games

This paragraph delves into the technical aspects of graphics in games, differentiating between 2D and 3D graphics. In 2D games, objects are created using pixel art, while 3D games involve models and textures. The paragraph explains that 3D objects are initially blank and are given detail through texturing. It also covers the use of various textures like diffuse, normal, specular, and emissive maps, and how these have evolved with the adoption of Physical Based Rendering (PBR). The main point is that while 2D games maintain their aesthetic over time, 3D games suffer from pixelation when upscaled, as their textures were not designed for modern, high-resolution displays.

10:02

🤖 AI Upscaling and its Impact on the Gaming Industry

This paragraph focuses on the role of AI in upscaling game textures. It explains that AI upscaling works by reproducing the original image at a higher resolution while minimizing pixelation. The paragraph also touches on the limitations of AI, noting that it cannot add information that wasn't in the original image. It then discusses the application of AI upscaling to both 2D sprites and 3D textures and highlights the growing industry around texture upscaling, with companies like Topaz Labs, Nvidia, and Adobe developing tools for this purpose. The paragraph also differentiates between AI upscaling and DLSS (Deep Learning Super Sampling), an upscaling technology developed by Nvidia, and sets the stage for a more in-depth discussion on DLSS in a future episode.

15:05

🛠️ How Texture Upscaling Works with GANs

This paragraph provides a detailed explanation of how texture upscaling works, particularly through the use of Generative Adversarial Networks (GANs). It describes the process of training deep convolutional neural networks to upscale images and retain their 'feature space', which consists of properties used to describe specific patterns in the image. The paragraph then explains the role of the generator and discriminator in a GAN, with the generator attempting to create higher quality images and the discriminator assessing the realism of these images. It also introduces the concept of a relativistic discriminator used in ESRGAN (Enhanced Super-Resolution Generative Adversarial Network), which is designed to retain sharpness and detail in textures. The paragraph concludes by acknowledging that while AI upscaling is powerful, it is not perfect and often requires high-quality original images to produce the best results.

🎮 Real-World Applications and Examples of AI Upscaling

This paragraph discusses the practical applications of AI upscaling in the gaming industry, particularly in modding communities and game remasters. It provides examples of games that have benefited from AI upscaling, such as DOOM Neural Upscale 2x and Max Payne Remastered, and how these mods have improved the visual quality of these games. The paragraph also highlights the use of AI upscaling in the Mass Effect Legendary Edition, where it was part of a larger effort to rebuild the game's art assets. It emphasizes that while AI upscaling is a valuable tool, it still requires significant human oversight and manual cleanup to ensure consistency and quality. The paragraph concludes by acknowledging the growing interest in AI upscaling and its potential to revitalize classic games for modern hardware.

Mindmap

Keywords

💡Texture Upscaling

Texture upscaling is a process where lower resolution images or textures used in video games are converted into higher resolution versions without significantly losing detail or introducing artifacts. This is particularly useful for remastering older games to look better on modern high-resolution displays. In the video, texture upscaling is discussed as an essential technique to make classic games more visually appealing on contemporary hardware by enhancing original textures using AI.

💡Super Resolution

Super resolution refers to techniques that enhance the resolution of an image by using machine learning algorithms to predict and fill in gaps in data at a higher resolution. The video explains that this involves feeding an image into a deep learning model which then generates a higher resolution version, maintaining the original artistic intent. This is crucial for maintaining the quality of graphics in video games when displayed on modern screens.

💡Generative Adversarial Networks (GANs)

Generative Adversarial Networks (GANs) are a type of artificial intelligence system involving two neural networks, a generator and a discriminator, which work against each other to improve the system’s output. The video discusses their use in texture upscaling, where the generator creates high-resolution images and the discriminator evaluates them, improving the accuracy and quality of the upscaling process.

💡ESRGAN

ESRGAN (Enhanced Super-Resolution Generative Adversarial Network) is a specific type of GAN mentioned in the video. It is designed to improve image quality by enhancing texture details more effectively than traditional methods. This technology is used in the gaming industry to upscale textures in video games, resulting in sharper and more detailed graphics.

💡Physical Based Rendering (PBR)

Physical Based Rendering, or PBR, is a technique in computer graphics that mimics the way light interacts with surfaces to produce more realistic images. The video mentions that PBR has been adopted in modern gaming engines like Unreal Engine and has influenced how textures and materials are applied in video games.

💡DLSS

DLSS (Deep Learning Super Sampling) is a technology developed by Nvidia that uses deep learning to upscale lower-resolution images in real-time during gameplay, allowing for better performance and higher visual fidelity on supported hardware. The video describes DLSS as an upscaling method that differs from pre-rendered texture upscaling, focusing instead on real-time rendering enhancements.

💡Modding Communities

Modding communities consist of gamers and developers who modify games to add new features, improve graphics, or alter gameplay. In the video, these communities are credited with pioneering the use of AI for texture upscaling, creating mods that enhance the visuals of classic games beyond their original specs.

💡Mass Effect Legendary Edition

Referenced in the video, the Mass Effect Legendary Edition is an example of a commercial application of texture upscaling where the game developers used AI to enhance the textures of the original Mass Effect trilogy, significantly improving the game's visuals for modern consoles and PCs.

💡Sprite Atlas

A sprite atlas is a collection of multiple different graphics or sprites combined into a single image. This method is used in game development to optimize performance. The video mentions sprite atlases in the context of 2D game development, where different sprites are used for character animations and environmental elements.

💡Deep Learning

Deep learning is a subset of machine learning involving neural networks with multiple layers. It is fundamental to AI-driven tasks such as image and speech recognition. In the context of the video, deep learning is crucial for effectively scaling up the resolution of textures in video games through processes like ESRGAN and DLSS.

Highlights

The graphical quality of new videogame titles continues to mature with each new generation of hardware.

Older games are being revisited through re-releases, remasters, and made available on modern hardware.

AI can be used to upscale textures from older games, making them larger, crisper, and more detailed for higher resolutions.

Super-resolution is a process where a deep learning algorithm generates a higher resolution image while maintaining the original intent.

3D game objects are comprised of models and textures, with multiple textures applied for different lighting conditions.

2D games hold up over time due to their aesthetic and fixed resolution, but 3D games suffer from pixelation when upscaled.

AI upscaling attempts to reproduce the original image at a higher resolution, minimizing pixelation and artifacts.

Texture upscaling is becoming an industry, with companies like Topaz Labs and Nvidia offering upscaling tools.

DLSS is an upscaling technology by Nvidia that works differently from texture upscaling, rendering games at lower resolutions and then upscaling the image.

ESRGAN (Enhanced Super-Resolution Generative Adversarial Network) is a specific type of GAN used for texture upscaling.

ESRGAN retains sharpness and detail in textures, improving upon traditional upscaling methods.

High-quality original images are crucial for effective super-resolution, as low-resolution images can result in artifacts.

Modding communities have been pivotal in applying super-resolution techniques to classic games.

The Mass Effect Legendary Edition utilized AI upscaling as part of a larger effort to rebuild art assets.

AI upscaling requires human oversight to ensure consistency and quality, especially in maintaining the original artistic intent.

Super-resolution is an ongoing development with potential for future applications in modding and remastering classic games.

The use of AI in upscaling game textures is a significant advancement in the gaming industry, allowing for enhanced visual experiences on modern hardware.