zoukankan      html  css  js  c++  java
  • unity 模型 材质 贴图 关系;着色器属性

    模型包含

    • 材质(Material),包括
      • [核心]着色器(Shader)
      • 贴图和其他参数,贴图也算是一种参数
    • 其他,如网格渲染器(Mesh Renderer)、动画、坐标

    一个材质可以看做为一个Shader的包装,一个预制体

    着色器(Shader)属性:

    • Albedo:贴图/颜色
    • Metallic:物体表面对光线反射的能量,通常金属设置>50%,大部分在90%,非金属<20%
    • Smoonthness:该值越大,物体越光滑
    • normal map:法线贴图
    • Emission:自发光

    If you are having trouble understanding how a shader works, consider this scenario: Imagine you have a piece of wood. The physicality of the wood is its mesh; the color, texture, and visible ele- ment are its texture. Now take that piece of wood and pour water on it. The wood still has the same mesh. It still is made of the same substance (wood). It looks different, though. It is slightly darker and shiny. The water in this example is the shader. The shader took something and made it look a little different without actually changing it.

  • 相关阅读:
    第二阶段冲刺第一天
    第一次团队绩效评估
    其他团队对本团队评价的总结
    对其他团队的评价
    团队博客的检查结果
    站立会议第十天
    站立会议第九天
    站立会议第八天
    站立会议第七天
    团队站立会议10
  • 原文地址:https://www.cnblogs.com/36bian/p/7571453.html
Copyright © 2011-2022 走看看