UD贴图(DOC可编).docVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
UD贴图(DOC可编).doc

How do I use Detail Textures? 如何使用紋理貼圖 A Detail texture is a small, fine pattern which is faded in as you approach a surface, for example wood grain, imperfections in stone, or earthly details on a terrain. They are explicitly used with the Diffuse Detail shader. 紋理貼圖可以讓您表達物體表面較細微的部份,例如:木紋、不規則石頭、或地表上的所有細節。都可以透過Diffuse Detail shader功能完成。 Detail textures must tile in all directions. Color values from 0-127 makes the object its applied to darker, 128 doesnt change anything, and lighter colors make the object lighter. Its very important that the image is centered around 128 - otherwise the object its applied to will get lighter or darker as you approach. 紋理貼圖將會平鋪在物體表面,顏色值在0~127的時候會讓物件變得比較暗,顏色值128將不會改變任何事,而比較亮的顏色相對也會讓物件更亮,所以讓顏色值盡量在128是很重要的事情,否則當你接近物件時會發現對象會變的特別亮或特別暗。 1. Draw or find a grayscale image of the detail texture. 繪製或找出一個灰階的紋理貼圖檔 The Detail Texture 假設紋理貼圖如上所示 The Levels 層次分析結果 2.Save the image next to your main texture. 儲存影像供下次使用 3. In Unity, select the image and under Generate Mip Maps, enable Fades Out and set the sliders to something like this in the Import Settings in the Inspector. 在Unity中,選擇一個影像檔,在材質檢視器中可以看到Generate Mip Maps,勾選Fades Out並設定兩個slider值 4. The top slider determines how small the texture should before before beginning to fade out, and the bottom determines how far away it is before the detail texture completely disapear. 上面的(start)值用來設定紋理在多小的情況下進行Fades Out,下面的(End)值用來設定紋理在多遠的距離下仍保持紋理的效果 5. In the Material Inspector on the right, select Diffuse Detail from the Shader drop-down: 材質檢視工具右方,在Shader菜單選擇Diffuse Detail 6. Drag your texture from the Project View to the Detail texture slot. 拖曳你的貼圖檔由Project到Detail texture slot 7.Set the Tiling values to a high value 設定鋪設的比例 本篇結束 補充~因為一篇文章較短(應該算是簡介),所以放到紋理貼圖章節下方囉 How Do I Make a Cubemap Texture?如何製作方塊貼圖? Cubemaps are used by the Reflective built-in shaders. 方塊貼圖會用在反射貼圖的幾種模式裡,詳見 Reflective built-in shaders. 章節 To build one, you either create six 2D textures and create a newCubemap asset,

文档评论(0)

rewfdgd + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档