Specular mode: Specular parameter 高光模式:高光参数

本文档主要是对Unity官方手册的个人理解与总结(其实以翻译记录为主:>)
仅作为个人学习使用,不得作为商业用途,欢迎转载,并请注明出处。
文章中涉及到的操作都是基于Unity2018.3版本
参考链接:https://docs.unity3d.com/Manual/StandardShaderMaterialParameterSpecular.html

Specular parameter

The Specular parameter is only visible when using the Specular setup, as shown in the Shader field in the image above. Specular effects are essentially the direct reflections of light sources in your Scene, which typically show up as bright highlights and shine on the surface of objects (although specular highlights can be subtle or diffuse too).
高光参数只有在使用高光设置时才可见,如上图中的Shader字段所示。高光效果本质上是你的场景中光源的直接反射,它通常以明亮的高光出现并照射在物体的表面(尽管高光也可以是精细调节的或漫反射产生的)。

Both the Specular setup and Metallic setup produce specular highlights, so the choice of which to use is more a matter of setup and your artistic preference. In the Specular setup you have direct control over the brightness and tint colour of specular highlights, while in the Metallic setup you control other parameters and the intensity and colour of the specular highlights emerge as a natural result of the other parameter settings.
高光设置和金属设置都会产生高光的高光,所以选择使用哪种高光更多的是一个设置和你的艺术偏好的问题。在高光设置中,你可以直接控制高光的亮度和颜色,而在金属设置中,你可以控制其他参数,高光的强度和颜色是其他参数设置的自然结果。

When working in Specular mode, the RGB colour in the Specular parameter controls the strength and colour tint of the specular reflectivity. This includes shine from light sources and reflections from the environment. The Smoothness parameter controls the clarity of the specular effect. With a low smoothness value, even strong specular reflections appear blurred and diffuse. With a high smoothness value, specular reflections are crisper and clearer.
在高光模式下工作时,高光参数中的RGB颜色控制着高光反射率的强度和颜色。这包括来自光源的光和来自环境的反射。平滑度参数控制高光效果的清晰度。如果光滑度值较低,即使是强烈的镜面反射也会出现模糊和漫反射。高光平滑度越高,高光反射更加清晰。

The Specular Smoothness values from 0 to 1

You might want to vary the Specular values across the surface of your material - for example, if your Texture contains a character’s coat that has some shiny buttons. You would want the buttons to have a higher specular value than the fabric of the clothes. To achieve this, assign a Texture map instead of using a single slider value. This allows greater control over the the strength and colour of the specular light reflections across the surface of the material, according to the pixel colours of your specular map.
你可能想要改变材质表面的高光值——例如,如果你的贴图包含有一些有闪亮纽扣的人物外套。你会希望纽扣的高光值高于衣服的布料。要实现这一点,赋值一个纹理贴图,而不是使用一个滑块值。这样就可以根据高光贴图的像素颜色,更好地控制反射光在材质表面的强度和颜色。

When a Texture is assigned to the Specular parameter, both the Specular parameter and Smoothness slider disappear. Instead, the specular levels for the material are controlled by the values in the Red, Green and Blue channels of the Texture itself, and the Smoothness levels for the material are controlled by the Alpha channel of the same Texture. This provides a single Texture which defines areas as being rough or smooth, and have varying levels and colors of specularity. This is very useful when working Texture maps that cover many areas of a model with varying requirements; for example, a single character Texture map often includes multiple surface requirements such as leather shoes, fabric of the clothes, skin for the hands and face, and metal buckles.
当纹理被指定为高光参数时,高光参数和平滑滑块(无此项)都会消失。相反,材质的高光层由贴图本身的红、绿、蓝通道值控制,材质的平滑层由相同贴图的Alpha通道控制。这提供了一个单一的纹理,它将区域定义为粗糙或光滑,并具有不同的高光层和颜色。这在处理纹理映射时非常有用,纹理映射覆盖了模型的许多区域,并且具有不同的需求;例如,一个角色纹理图通常包括多个表面需求,如皮鞋、衣服的面料、手和脸的皮肤,以及金属扣。

An example of a 1000kg weight with a strong specular reflection from a directional light.
这是一个1000公斤重的例子,带有来自方向光的强高光反射。

Here, the specular reflection and smoothness are defined by a colour and the Smoothness slider. No Texture has been assigned, so the specular and smoothness level is constant across the whole surface. This is not always desirable, particularly in the case where your Albedo Texture maps to a variety of different areas on your model (also known as a Texture atlas).
在这里,高光反射和平滑度由颜色和平滑滑块定义。由于没有赋值纹理,所以整个表面的高光和平滑程度是恒定的。这并不总是可取的,特别是在您的反照率纹理映射到模型上的各种不同区域的情况下(也称为纹理图集)。

The same model, but with a specular map assigned, instead of using a constant value.
相同的模型,但使用高光贴图,而不是使用常量值。

Here, a Texture map controls the specularity and smoothness. This allows the specularity to vary across the surface of the model. Notice the edges have a higher specular effect than the centre, there are some subtle colour responses to the light, and the area inside the lettering no longer has specular highlights. Pictured to the right are the RGB channels controlling the specular colour and strength, and the Alpha channel controlling the smoothness.
在这里,纹理贴图控制高光和平滑。这允许在模型的表面上高光有变化性。注意边缘比中心有更高的高光效果,对光线有一些微妙的颜色反应,字母内部的区域不再有高光。右图是控制高光颜色和强度的RGB通道,以及控制平滑度的Alpha通道。

Note: A black specular color (0,0,0) results in nulling out the specular effect.
注:黑色高光(0,0,0)会使高光效果为零。

Specular mode: Specular parameter 高光模式:高光参数 Standard Shader系列7相关推荐

  1. Unity Shader - Metallic mode: Metallic Parameter 金属模式的参数

    目录:Unity Shader - 知识点目录(先占位,后续持续更新) 原文:Metallic mode: Metallic Parameter 版本:2019.1 Metallic mode: Me ...

  2. oracle 隐藏视图定义,【学习笔记】show hidden parameter 创建查看隐藏参数视图

    天萃荷净 分享一篇开发DBA常用的show hidden parameter,创建查看隐藏参数视图的案例步骤 1.创建查看隐藏参数视图(show_hidden_v$parameter) --conn ...

  3. 信元模式mpls 避免环路_呼吸机常见通气模式及参数调节

    呼吸是重要的生命支持系统,在临床抢救.呼吸治疗等方面得到了广泛应用,大大提高了临床抢救.治疗的成功率.延长众多患者的生命.呼吸机在临床治疗中的作用越来越大,越来越被大家重视.但是在临床使用中所暴露出的 ...

  4. apache2三种模式及参数调优

    问题来源 如果访问量比较小,其实什么配置都没问题.在一些特殊场景下,例如促销活动,访问量会比较集中.峰值差不多能达到每秒1000到2000次的访问,而且还在继续增长中. 我们一直判断是数据库卡死的问题 ...

  5. web渗透测试----32、HTTP Parameter Pollution(HTTP参数污染)

    文章目录 一.HPP 二.HPP的作用 三.HTTP参数处理图 一.HPP HTTP Parameter Pollution即HTTP参数污染,简称HPP.是web容器处理HTTP参数的一种方式. H ...

  6. 方舟服务器 参数修改,《方舟:生存进化》单机模式游戏参数ini设置指南

    <方舟:生存进化>单机模式游戏参数ini设置指南 2015-06-30 13:47:41来源:3DM论坛编辑:评论(0) <方舟:生存进化>中有部分玩家喜欢单机模式,今天给大家 ...

  7. [转]解读Unity中的CG编写Shader系列3——表面剔除与剪裁模式

    在上一个例子中,我们得到了由mesh组件传递的信息经过数学转换至合适的颜色区间以颜色的形式着色到物体上.这篇文章将要在此基础上研究片段的擦除(discarding fragments)和前面剪裁.后面 ...

  8. android 魅族屏幕适配,Flyme 9发布:首发小窗模式3.0 魅族18系列首先适配

    Flyme 9发布:首发小窗模式3.0 魅族18系列首先适配 2021-03-02 19:25:12 0点赞 0收藏 0评论 [科技犬] 此次Flyme 9秉承着"轻盈有序"的设计 ...

  9. EDB PPAS(Oracle 兼容版) Oracle与PostgreSQL 兼容模式的参数配置切换

    标签 PostgreSQL , EDB , PPAS , 参数 , Oracle模式 , PostgreSQL模式 背景 EDB PPAS是EDB推出的一款同时兼容Oracle和PostgreSQL协 ...

  10. 第九弹 - 脚本模式与参数视图

    MaxCompute(原ODPS)是阿里云自主研发的具有业界领先水平的分布式大数据处理平台, 尤其在集团内部得到广泛应用,支撑了多个BU的核心业务. MaxCompute除了持续优化性能外,也致力于提 ...

最新文章

  1. flannel 概述 - 每天5分钟玩转 Docker 容器技术(58)
  2. C#语法之匿名函数和Lambda表达式
  3. EXTJS 重新加载树结点
  4. 从零搭建Prometheus监控报警系统
  5. selenium的使用教程1
  6. 使用 Azure DevTest Lab 搭建云端开发测试环境
  7. php删除字段某个字段,php数如何组删除某个字段
  8. C#中的泛型化方法的实现
  9. 2.5D休闲娱乐生活类插画素材,给设计添彩!
  10. 安装java项目开发环境
  11. java 修改mysql密码_mysql数据库忘记密码时如何修改
  12. [设计一个24GHz微带天线]书本公式介绍并用Octave计算初始值
  13. 使用ExtendSim进行可靠性分析仿真
  14. 免费的银行联行号查询/接口
  15. css过度动画使用简介及animate.css库使用简介
  16. Twaver-HTML5基础学习(3)基本数据元素(Data)其他功能函数以及组Group
  17. 新机常用软件及环境配置清单
  18. 为什么趁年轻就应该去创业?
  19. 3DES加密,苹果、Java 、安卓 平台一致的加密工具
  20. 在原有产品的基础上建立软件产品线的方式

热门文章

  1. 【致远FAQ】致远OA宕机之内存溢出
  2. 谈谈微信小程序仿网易云音乐有关播放的那些事儿
  3. 美国大学生解释为什么那么喜欢snapchat
  4. explain是mysql的关键字吗_mysql 中的explain关键字
  5. 现代大学英语精读第二版(第四册)学习笔记(原文及全文翻译)——10B - None of This Is Fair(毫无公平可言)
  6. BUUCTF Reverse reverse3 WriteUp
  7. 小程序、容器、SCF、直播加速…最全面的云端架构技术揭秘
  8. 基于java的学生社团管理系统的研究设计计算机毕业设计源码+系统+lw文档+mysql数据库+调试部署
  9. 高效实现统计分析(按日,月,周)查询功能
  10. 入门OJ:郭嘉的消息传递