{"id":416,"date":"2023-07-25T21:11:18","date_gmt":"2023-07-26T01:11:18","guid":{"rendered":"https:\/\/www.sceneri.com\/?post_type=blog_post&p=416"},"modified":"2024-11-12T05:29:15","modified_gmt":"2024-11-12T10:29:15","slug":"uv-maps-and-you-the-good-the-bad-and-the-stretchy","status":"publish","type":"blog_post","link":"https:\/\/www.sceneri.com\/blog_post\/uv-maps-and-you-the-good-the-bad-and-the-stretchy\/","title":{"rendered":"UV Maps and You: the Good, the Bad, and the Stretchy"},"content":{"rendered":"
UVs<\/strong>\u00a0or\u00a0UV coordinates<\/strong>\u00a0are a way of mapping a 2D texture onto a 3D object. UVs are used to tell the graphics card where to find the texture information for each pixel on the 3D object. For a visual representation, we have provided a gif of a cube laying out flat to show how you transition from a 3D object into a 2D flat image.<\/p>\n<\/div> In game development, UV mapping is often done using a 3D modeling software program, such as Maya or Blender. The artist will first create a 3D model of the object they want to texture. Once the model is created, the artist will need to create a UV map for the model. The UV map is a 2D grid that represents the surface of the 3D model. The artist will then need to map the texture to the UV map. This can be done manually or automatically. Once the texture is mapped, the artist can then render the 3D model with the texture applied.<\/p>\n Here are some of the benefits of using UV mapping in game development:<\/p>\n Box projection is a type of UV mapping in 3D art that projects a texture onto a 3D object from six different sides. This is done by projecting the texture from the positive and negative X, Y, and Z axes. Box projection is often called tri-planar projection, and in the case shown below, each of the perfectly symmetrical cube faces is stacked on top of each other to cover the full 1:1 texture space.<\/p>\n<\/div> Cylindrical projection is a type of UV mapping in 3D art that projects a texture onto a 3D object along the length of a cylinder. This is done by projecting the texture from the center of the cylinder and then wrapping the texture around the cylinder. In this case, you can see on the right side that seams have been cut on the top and bottom of the cylinder, and then a single edge is used to flatten it.<\/p>\n<\/div> A trim sheet is a texture that contains multiple smaller textures, each of which is used to create a different detail on a 3D model. Trim sheets are a common technique in game development, as they allow artists to create high-quality models with a limited number of textures.<\/p>\n To create a trim sheet, an artist will first create the individual textures that they want to include on the sheet. These textures can be anything from simple decals to complex materials. Once the textures are created, the artist will then arrange them on the trim sheet in a way that makes sense for the 3D model.<\/p>\n<\/div> In the example above we can see the obvious sections that are the top and bottom nestled at the bottom of the texture. One additional aspect of this wall is that the center of the brick has a loop cut and then the brick is repeated on the wall to reach the top and not consume the entire sheet. Stacking these elements like previously shown in the box projection is the most powerful concept in trim sheet usage.<\/p>\n Here are some additional tips for UV mapping for your games:<\/p>\n By following these tips, you can use UV mapping to create high-quality textures that will improve the look and performance of your games.<\/p>\n To excel in UV mapping, 3D artists should involve themselves in the task of UVing and become comfortable with a routine. They must maintain a consistent UV mapping scheme and thoroughly test their UV maps in-game to ensure optimal results and efficiency. By mastering UV mapping, artists can create visually stunning and well-performing games that captivate players.<\/p>\n To unlock a wealth of tips and tricks, make sure to visit our\u00a0YouTube channel<\/a>\u00a0or check out our\u00a0official Discord<\/a>, where we delve into the ins and outs of these features and many other tools that will guide you on your creative journey!<\/p>\n<\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":251212454,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"blog-category":[],"blog-tag":[],"class_list":["post-416","blog_post","type-blog_post","status-publish","format-standard","hentry"],"acf":[],"yoast_head":"\nWhy do we need UV’s?<\/h3>\n
\n
Types of Mapping<\/h3>\n
Box Projection and Stacking<\/h4>\n
Cylindrical and Seams<\/h4>\n
Trim Sheets<\/h3>\n
Tips and Tricks<\/h3>\n
\n