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.

  • 相关阅读:
    替换TStrings
    WordPress数据备份方案
    图像反色
    通过网络复制文件
    SQL Server的patindex和charindex的用法
    C冒泡排序 @100到200素数
    正则。IP验证
    C以二进制读、写、文本
    HTML下拉框、文本框、复选框!
    HTM页面获得本机时间
  • 原文地址:https://www.cnblogs.com/36bian/p/7571453.html
Copyright © 2011-2022 走看看