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.

转载于:https://www.cnblogs.com/36bian/p/7571453.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值