Quantcast
Jump to content


Best Practices for Mobile Game Developers and Artists


Recommended Posts

2021-05-18-01-banner.jpg

The Samsung Developers team works with many companies in the mobile and gaming ecosystems. We're excited to support our friends, Arm, as they bring timely and relevant content to developers looking to build games and high-performance experiences. This Best Practices series will help developers get the most out of the 3D hardware on Samsung mobile devices.

Developing games is a true cross-disciplinary experience for developers, requiring both technical and creative skills to bring their gaming project to life. But all too often, the performance and visual needs of a project can be at odds.

Leading technology provider of processor IP, Arm has developed artists’ best practices for mobile game development where game developers learn tips on creating performance-focused 3D assets, 2D assets, and scenes for mobile applications. Before you cut those stunning visuals, get maximum benefit from Arm's best practices by reviewing these four topics: geometry, texturing, materials and shaders, and lighting.

Geometry

To get a project performing well on as many devices as possible, the geometry consideration of a game should be taken seriously and optimized as much as possible. This section identifies what you need to know about using geometry properly on mobile devices.

On mobile, how you use vertices matters more then almost any other platform. Tips around how to avoid micro triangles and long thin triangles are great first steps in gaining performance.

The next big step is to use Level of Details (LOD). An LOD system uses a lower-poly version of the model as an object moves further away from the camera. This helps keep the vertex count down and gives control over how objects look far away to the artist. This otherwise would be left to the GPU, trying its best to render a high number of vertices in only a few pixels, costing the performance of the project.

To learn more, check Real-time 3D Art Best Practices: Geometry.

2021-05-18-01-01.jpg

Texturing

Textures make up 2D UI and are also mapped to the surface of 3D objects. Learning about texturing best practices can bring big benefits to your game! Even a straightforward technique such as texture aliasing, where you build multiple smaller textures into one larger texture, can bring a major performance gain for a project.

You should understand what happens to a texture when the application runs. When the texture is exported, the common texture format is a PNG, JPG, or TGA file. However, when the application is running, each texture is converted to specific compression formats that are designed to be read faster on the GPU. Using the ASTC texture compression option not only helps your project’s performance, but also lets your textures look better.

To learn other texturing best practices, such as texture filtering and channel packing, check Real-time 3D Art Best Practices: Texturing.

2021-05-18-01-02.jpg

Materials and shaders

Materials and shaders determine how 3D objects and visual effects appear on the screen. Become familiar with what they do and how to optimize them.

Pair materials with texture atlas’s, allowing multiple objects in the same scene to share textures and materials. The game engine batches this object when drawing them to screen, saving bandwidth and increasing performance.

When choosing shaders, use the simplest shader possible (like unlit) and avoid using unnecessary features. If you are authoring shaders, avoid complicated match operations (like sin, pow, cos, and noise). If you are in doubt about your shaders’ performance, Arm provides tools to perform profiling on your shaders with the Mali Offline Shader Compiler.

There is a lot more to learn, so check out Real-time 3D Art Best Practices: Materials and Shaders for more information.

2021-05-18-01-03.gif

Lighting

In most games, lighting can be one of the most critical parts of a visual style. Lighting can set the mood, lead game play, and identify threats and objectives. This can make or break the visuals of a game. But lighting can quickly be at odds with the performance needs of the project. To help avoid this hard choice, learn about the difference between static and dynamic light, optimization of light, how to fake lighting, and the benefits of the different type and settings of lights.

Often on mobile, it is worth faking as much as possible when it comes to shadows. Real time shadows are expensive! Dynamic objects often try using a 3D mesh, plane, or quad with a dark shadow texture for a shadow rather than resorting to dynamic lights.

For dynamic game objects, where you cannot fake lighting, use light probes. These have the same benefits of light maps and can be calculated offline. A light probe stores the light that passes through empty space in your scene. This data can then be used to light dynamic objects, which helps integrate them visually with lightmapped objects throughout your scene.

Lighting is a large topic with lots of possible optimizations. Read more at Real-Time 3D Art Best Practices in Unity: Lighting.

2021-05-18-01-04.jpg

Arm and Samsung devices

Arm’s Cortex-A CPUs and Mali GPUs power the world’s smartphones, with Mali GPUs powering mobile graphics. This means you can find Arm GPUs in an extensive list of popular Samsung devices, including the Samsung Galaxy A51 and Galaxy S21. Arm provides practical tips and advice for teams developing real time 3D or 2D content for Arm-based devices.

Mobile game performance analysis has never been more important

Every year mobile gaming grows! It is now worth 77.2 billion US dollars in revenue in 2020. Growth in this sector is expected to continue in 2021 and beyond. With more mobile devices coming out each year, it is important for your content to be able to run on as many devices as possible, while providing players with the best possible experience.

The Artist Best Practices is just one part of the educational materials from Arm. Alongside these best practices, you can explore the Unity Learn Course, Arm & Unity Presents: 3D Art Optimization for Mobile Applications. This course includes a downloadable project that shows off the many benefits of using the best practices.

For more advanced users, check out Arm’s Mali GPU Best Practices Guide and learn about performance analysis with Arm Mobile Studio.

Follow Up

Thanks to Joe Rozek and the team at Arm for bringing these great ideas to the Samsung Developers community. We hope you put these best practices into effect on your upcoming mobile games.

The Samsung Developers site has many resources for developers looking to build for and integrate with Samsung devices and services. Stay in touch with the latest news by creating a free account or by subscribing to our monthly newsletter. Visit the Marketing Resources page for information on promoting and distributing your apps and games. Finally, our developer forum is an excellent way to stay up-to-date on all things related to the Galaxy ecosystem.

View the full blog at its source

Link to comment
Share on other sites



  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Similar Topics

    • By Samsung Newsroom
      Samsung Electronics, a global leader in the display industry, today announced the launch of a new collection of Keith Haring’s renowned work to Samsung Art Store,1 starting on December 1. The collection features 122 of the legendary artist’s most notable pieces from the 20th century, introducing his indelible legacy to homes across the globe.
       
      “We’re thrilled to bring the power and vitality of this contemporary master to the Samsung Art Store,” said Seline Sangsook Han, Executive Vice President of the Visual Display Business at Samsung Electronics. “Keith Haring created a visual language that is recognizable around the world and we’re delighted to provide these artworks on a digital platform for our global audience to enjoy at home.”
       
      Keith Haring, one of the most renowned young artists of his time, was a quintessential representation of New York urban street culture in the 1980s. Inspired by the street art that characterized the city, Haring began exhibiting his work in galleries and museums around the world. He also participated in social awareness projects, including literacy campaigns and anti-AIDS initiatives.
       
      Samsung Art Store users can now display works such as “Radiant Baby,” “Retrospect” and “Untitled (Dancing Dogs)” making these iconic Haring artworks more widely available to consumers worldwide. The selection is also specially curated and optimized for The Frame’s 16:9 screen ratio.
       
      “Working with Samsung Art Store felt like a great opportunity to share Keith Haring’s iconic artwork with a global audience,” said David Stark, the Founder and President of Artestar, an international brand licensing and consulting agency representing the Keith Haring Studio. “Keith lived by the ethos of ‘art is for everybody,’ and The Frame allows his work to enter the homes of fans and newcomers alike. We hope this collection will spark interest in Haring and his legacy.”
       
      Throughout his career, Haring produced art not just as a creative outlet, but also for the betterment of his community. He created numerous murals, sculptures and paintings to benefit hospitals, underprivileged children’s groups and various community health organizations. His foundation is committed to working with museums, galleries, publishers and art education program curators to commemorate his work. Haring has been the subject of several international retrospectives and his work is featured in major private and public collections, including the Museum of Modern Art, the Whitney Museum of American Art and much more.
       
      Since the inception of Samsung Art Store in 2017, Samsung has partnered with notable artists, museums and art galleries to make it possible for users to view masterpieces and invaluable collections from the comfort of their own homes. Alongside this collection, Samsung Art Store houses thousands of additional digital artworks from masters — such as Gustav Klimt, Kandinsky and Van Gogh — and digital art collections from major global institutions — including Tate in London, the Prado Museum in Madrid and the Belvedere Museum in Vienna.
       
      For more information on The Frame and Samsung Art Store, please visit samsung.com.
       
       
      1 Samsung Art Store subscription is required.
      2 The number of works available may vary depending on region.
      View the full article
    • By Samsung Newsroom
      Samsung Electronics is spearheading the era of “Bringing Calm to Our Connected World,” where customized experiences aim to enhance users’ lifestyles in ways never before seen. An effective smart home ecosystem gives consumers limitless opportunities for personalized experiences. There are now countless devices that are seamlessly synchronized and easily controlled by the TV.
       
      In line with this goal of seamless connections, Samsung has expanded the hyperconnected experience by partnering with Signify, formerly known as Philips Lighting, to incorporate the Philips Hue Sync TV app into Samsung TVs. These technologies work in perfect harmony to make content more immersive and add a cinematic quality to any home theater set up.
       
      To dive deeper into the collaboration, Samsung Newsroom sat down with AJ Cho from the CX team at the Visual Display Business, Samsung Electronics and Yoojin Hong, Product Marketer of Hue at Signify Korea, to share insights into the partnership’s origin and setup tips to optimize your home entertainment experience.
       
      ▲ Philips Hue, synced with Samsung QLED TV, offers an immersive viewing experience that transcends the screen
       
       
      Industry Leaders Create the Ultimate Entertainment Experience
      The partnership between Samsung and Signify goes back to 2020. Philips Hue, known for its smart lighting system that allows users to adjust brightness and color, had just launched the Play HDMI Sync Box in 2019.
       
      “We noticed how the Philips Hue Play HDMI Sync Box could sync lighting with the brightness and color according to the content being played on the screen. This significantly enhanced the viewing experience in a way we had never seen before,” said Cho. “At that moment, we knew we wanted to partner with Signify for a collaboration that would make our two products as cohesive as possible.”
       
      “With years of research into lighting’s impact on human perception and psychology, Philips developed Hue, a sophisticated and intelligent lighting system offering not just adjustable brightness and color temperature, but also a spectrum of 16 million colors,” said Hong. “Teaming up with Samsung, a market leader in TV manufacturing, allowed us to take full advantage of our advanced lighting system. It was clear to me that this collaboration would lead to innovative solutions in home entertainment.”
       
      ▲ AJ Cho from the CX team at the Visual Display Business, Samsung Electronics (left) and Yoojin Hong, Product Marketer of Hue at Signify Korea
       
      As a result of this partnership, Samsung TVs were the first in the world to support the Philips Hue Sync TV application. Now, when Philips Hue is paired with a Samsung TV,1 the content is not just on the screen. It envelopes the entire room with lighting that harmonizes with each scene in real-time.
       
      It’s also never been easier to set up. Simply install the app from the app store, attach the light to the back of your TV and pair the light to the TV. The light can be paired with the TV without a separate sync box, instead leveraging the Samsung Smart TV platform.
       
      ▲ Philps Hue Play Gradient Lightstrip attached to the back of a TV. The Philips Hue Sync TV app eliminates the need for a separate Sync Box, allowing for a cleaner and easier setup
       
      “Previously, the Sync Box synchronized the lights only via the HDMI cable. In contrast, the Philips Hue Sync TV app allows content and the lights to sync. This means our consumers can enjoy this feature with everything from streaming services to video games,” said Cho. “It’s not only easy to install but also keeps the TV setup clean, with no need for additional cables.”
       
       
      Smart Lighting Enhances Gaming, Movies, Live Sports and Much More
      The Philips Hue Sync TV app supports a wide variety of content, including both game and video mode. The app will automatically use lighting optimized for the game you’re playing or the video you’re watching, synchronized in real-time to the content.
       
       ▲ An on/off comparison of Philips Hue Sync (Game Mode) on a Samsung QLED TV
       
      “I strongly recommend using the lights on game mode, which provides immersive lighting based on the genre of the game you’re playing,” said Cho. “Whether it’s a simulation, FPS(First-Person Shooting), or racing game, the extra lighting pulls you in. Players can adjust the intensity of the light based on their preference as well for a highly customized experience.”
       
       ▲ An on/off comparison of Philips Hue Sync (Video Mode) on a Samsung QLED TV
       
      Philips Hue also works well with movies or television shows. Cho’s personal favorite is pairing it with a horror movie. “Switching to Video mode with a horror movie transforms the room, immersing the viewer in a chilling, ominous atmosphere that truly elevates the viewing experience.”
       
       ▲ An on/off comparison of Philips Hue Sync on a Samsung Smart Monitor
       
      Avid sports fans will also appreciate the synergy between Samsung TV Plus2 and Philips Hue. This combination became especially exciting with the recent launch of the FIFA+ channel3 on Samsung TV Plus. Samsung TV Plus is Samsung’s free, ad-supported streaming TV service. The FIFA+ channel features an extensive collection of FIFA Originals, archives, and highlights from both men’s and women’s soccer.
       
      Cho noted, “Using Philips Hue truly enhances the thrill of watching a game at home. Paired with superior sound and picture quality, the TV and the lighting combination creates a stadium-like atmosphere right in your living room.”
       
       
      Maximizing Realism in Home Entertainment With Philips Hue
      There are a number of key factors which influence how immersive content on screen can be. While the significance of picture and sound quality cannot be overstated, Hong believes that lighting might be the final piece needed to elevate the overall experience.
       
      ▲ Philips Hue Sync TV app, available on compatible Samsung Smart TVs, helps automatically sync the smart lighting according to various types of content displayed on the screen including videos and games
       
      “Philips Hue harmonizes with Samsung Smart TV, adjusting its colors in real-time to reflect on-screen content and maximizing a sense of realism on screen,” said Hong. “Whether it’s a movie, TV show, or gaming, Philips Hue is able to precisely catch the changes on screen, intensifying the immersion of the content.”
       
       
      Find the Perfect Philips Hue Setup for Your Samsung TV
      Philips Hue offers a wide lineup of options to suit any home theater set up. Based on their experience, Cho and Hong have handpicked specific Philips Hue products designed to optimize the viewing experience.
       
      ▲ Philips Hue Play Gradient Lightstrip (left) and Philips Hue Play Gradient Light Tube (right)
       
      Cho selected the Philips Hue Play Gradient Lightstrip, which can be attached to the back of a TV. “Similar to the way different colors are mixed to make the perfect shade of paint, this light strip uses different shades of light to create the desired ambience,” said Cho. “With its 45-degree beam angle and seamless connectivity, the Play Gradient Lightstrip allows your content and lights to be perfectly in sync.”
       
      Hong prefers the Philips Hue Play Gradient Light Tube. “It’s versatile, easy to install anywhere around the TV, and its greatest strength lies in its customization,” said Hong. “The light tube can be rotated up to 340 degrees, allowing you to direct the lights precisely where you need it in any setup.”
       
       
      1 The Philips Hue Sync app is available on Samsung Neo QLED and QLED TV models Q60 and above released after 2022. A software update is planned for Q70B and Q700B 2022 models to support the app by the end of 2023.
      2 Samsung TV Plus is a free, go-to source for entertainment and sport, available to Samsung Smart TV, Mobile and Tablet customers. Samsung TV models manufactured after 2016 and mobile devices with access to Android 8.0 or higher will have Samsung TV Plus already built in. If your device is compatible, you will be able to download it directly from the Galaxy and Google Play store. Samsung TV Plus is available on Samsung Family Hub refrigerators and the web on select regions.
      3 Samsung TV Plus is only available in South Korea, UK, Germany, Switzerland, Austria, France, Italy, Spain, The Netherlands, Sweden, Denmark, Norway, Finland, United States, Canada, Australia, New Zealand, India, Brazil and Mexico. The mobile app is only available in South Korea, United States, Canada, UK, Germany, France, Italy, Spain, Switzerland, Austria and India.
      View the full article
    • By Samsung Newsroom
      Few artists are as well known and beloved as Vincent van Gogh. From “Almond Blossom” and “Sunflowers” to his iconic self-portraits and striking impressionist works, Van Gogh is recognized worldwide for his use of bold colors and dramatic brush strokes. Housing the largest collection of Van Gogh’s art in the world, the Van Gogh Museum in Amsterdam, Netherlands, is dedicated to the work of both the artist and his contemporaries.
       
      ▲ The Van Gogh Museum, Amsterdam
       
      Samsung Newsroom sat down with Jordy Howldar, Head of Business Development Asia at the Van Gogh Museum, to discuss how technology is preserving Van Gogh’s legacy for future generations and how the partnership with Samsung Art Store has enhanced art accessibility.
       
       
      Democratizing Access to Art With Samsung Art Store
      Q: Could you give us an overview of your role at the Van Gogh Museum?
       
      As Head of Business Development Asia at the Van Gogh Museum, I am responsible for partnerships and licensing in Asia. My work primarily involves building the museum’s presence within the Asian market, collaborating with notable brands to expand reach and managing these partnerships to ensure they align with the values and goals of the Van Gogh Museum.
       
      Q: The relationship between Samsung Art Store and the Van Gogh Museum dates back to 2018. Since then, has the museum changed how it selects art pieces to feature in Samsung Art Store?
       
      Our approach when selecting art pieces for Samsung Art Store has evolved since 2018. Now, we carefully consider the preferences and trends among global audiences and aim to showcase a diverse collection of Van Gogh’s work that resonates with different cultures and tastes. Over the years, Van Gogh’s art has become immensely popular with The Frame users — as both his famous pieces and lesser-known works have attracted massive viewership.
       
      ▲ “Self-Portrait with Grey Felt Hat” (1887)
       
      Q: What is the significance of making Van Gogh’s work available to large audiences through a platform like Samsung Art Store?
       
      Platforms such as Samsung Art Store democratize access to art, allowing people to experience Van Gogh’s creativity without needing to travel. In addition, his pieces are exposed to new audiences who might not otherwise have the opportunity to engage with them.
       
       
      Half a Century of Immortalizing Artistic Excellence
      Q: How is the Van Gogh Museum celebrating its 50th anniversary?
       
      To celebrate its 50th anniversary, the museum is organizing special exhibitions, events and educational programs to reflect on past achievements and anticipate future contributions to the art world. We encourage everyone to join the celebrations by attending our collaborations and exhibitions — such as the one with Pokémon which runs until January 2024. Earlier this year, we held the Sunflower Art Festival to celebrate the anniversary.
       
      ▲ “Sunflowers” (1889)
       
      Q: What are some of the most memorable or significant moments in the Van Gogh Museum’s 50-year history?
       
      For our first anniversary, the museum held an exhibition for visitors to explore the history of the institute. Without the unconditional support from the Van Gogh family, the museum simply would not exist.
       
      Q: Of the pieces selected for Samsung Art Store, which ones would you recommend users display on The Frame?
       
      The first would be “Wheatfield Under Thunderclouds,” a striking painting illustrating a dark, brooding sky and a golden wheatfield. When displayed on The Frame, the dramatic contrast captures the emotional intensity and turbulence that Van Gogh originally felt.
       
      ▲ “Wheatfield Under Thunderclouds” (1890)
       
      Next, I’d recommend “Fishing Boats on the Beach at Les Saintes-Maries-de-la-Mer.” The vibrant blue shades of the sea and sky juxtaposed against the colorful boats makes this painting ideal for The Frame. The screen’s ability to render vibrant colors brings the scene to life, enhancing the painting’s lively and dynamic nature.
       
      ▲ “Fishing Boats on the Beach at Les Saintes-Maries-de-la-Mer” (1888)
       
      My third pick would be “Landscape at Twilight,” a painting depicting a twilight sky and rural landscape. The Frame’s display accurately captures these subtle nuances in colors — making the idyllic piece a calming addition to any room.
       
      ▲ “Landscape at Twilight” (1890)
       
       
      Preserving Legacy With Technology
      Q: How has technology impacted the Van Gogh Museum since its opening in 1973?
      Our mission is to inspire diverse audiences with the art and life of Vincent van Gogh, and we are always searching for new ways to do so. As such, we’ve incorporated new technologies both inside the museum and online to further preserve Van Gogh’s legacy for future generations.
       
      Q: How does The Frame elevate the viewing experience of art?
      The focus of the museum has always been to showcase our expansive Van Gogh collection. Offering this collection of masterpieces on The Frame gives users an opportunity to enjoy Vincent van Gogh’s world-famous paintings from home. Of course, we hope people will also be inspired to come and enjoy the art in person at the Van Gogh Museum in Amsterdam as well.
       
      Q: In December, Samsung Art Store will feature a curated Van Gogh collection called “Van Gogh in Winter.” What can viewers expect to see in this collection?
      We are thrilled to bring a carefully crafted selection of artwork to Samsung Art Store. Each masterpiece — from the vivid “The Bedroom” to the serene “Snow-Covered Field with a Harrow (after Millet)” — encapsulates Van Gogh’s revolutionary use of color and emotive landscapes.
       
      The “Van Gogh in Winter” collection offers a unique window into Van Gogh’s world, showcasing his evolution as an artist and his enduring impact on art history. We invite viewers to immerse themselves in these classic works and experience Van Gogh’s art in a new vibrant, digital format.
       
      ▲ “The Bedroom” (1888)
       
      ▲ “Snow-Covered Field with a Harrow (after Millet)” (1890)
       
      Q: Are there any upcoming events at the museum?
      Visitors can enjoy the special “Pokémon x Van Gogh Museum” activities in the museum until January 7, 2024. “Matthew Wong l Vincent van Gogh: Painting as a Last Resort” will then open in early March — a temporary exhibition inviting attendees to discover the colorful and expressive art of Matthew Wong and his artistic connection with Vincent van Gogh.
       
      Visit Samsung Art Store in The Frame to see more of the Van Gogh collection.
      View the full article





×
×
  • Create New...