<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">As I'm building the Material class, I'm running into a design issue with materials. A material is a container of textures (with other properties). Right now each surface mesh has
a map of textures to texture coordinates, but I'm not sure this is necessary for our use cases. What would be potential use cases with assigning different materials to multiple UVs?
<div><br>
</div>
<div>The reason for is that if you totally fill up a material class with textures, then you can pass texture binding limits with as little as two materials:
<div>http://gamedev.stackexchange.com/a/30101<span class="Apple-tab-span" style="white-space:pre">
</span></div>
<div><br>
</div>
<div>On the other hand, if we allow users to define the texture coordinate names, then we run into the issue of Materials that can't be shared between objects, which sort of defeats the ease of use/portability of a Material. What do you all think?</div>
</div>
</div>
</div>
</body>
</html>