Version: 2023.1
Rendering Mode
Specular mode: Specular Property

Albedo Color and Transparency

A Standard Shader material with default Properties and no values or textures assigned. The Albedo Color Property is highlighted.
A Standard Shader material with default Properties and no values or textures assigned. The Albedo Color Property is highlighted.

The Albedo Property controls the base color of the surface.

一组从黑色到白色的反照率值
一组从黑色到白色的反照率值

Specifying a single color for the Albedo value is sometimes useful, but it is far more common to assign a texture map for the Albedo Property. This should represent the colors of the surface of the object. It’s important to note that the Albedo texture should not contain any lighting, since the lighting will be added to it based on the context in which the object is seen.

两个典型反照率纹理贴图示例。左边是角色模型的纹理贴图,右边是木箱。请注意它们没有阴影和光照亮点。
两个典型反照率纹理贴图示例。左边是角色模型的纹理贴图,右边是木箱。请注意它们没有阴影和光照亮点。

透明度

The alpha value of the Albedo colour controls the transparency level for the material. This only has an effect if the Rendering Mode for the material is set to one of the transparent mode, and not Opaque. As mentioned above, picking the correct transparency mode is important because it determines whether or not you will still see reflections and specular highlights at full value, or whether they will be faded out according to the transparency values too.

从 0 到 1 范围内的透明度值,采用适合于逼真透明对象的 Transparent 模式
从 0 到 1 范围内的透明度值,采用适合于逼真透明对象的 Transparent 模式

When using a texture assigned for the Albedo Property, you can control the transparency of the material by ensuring your albedo texture image has an alpha channel. The alpha channel values are mapped to the transparency levels with white being fully opaque, and black being fully transparent. This will have the effect that your material can have areas of varying transparency.

带 RGB 通道和 Alpha 通道的导入纹理。可单击 RGB/A 按钮(如图所示)来切换所预览的图像的通道。
带 RGB 通道和 Alpha 通道的导入纹理。可单击 RGB/A 按钮(如图所示)来切换所预览的图像的通道。
最终结果是透过破碎的窗户窥视建筑物内部。玻璃的缺口位置是完全透明的,玻璃碎片是部分透明的,而框架是完全不透明的。
最终结果是透过破碎的窗户窥视建筑物内部。玻璃的缺口位置是完全透明的,玻璃碎片是部分透明的,而框架是完全不透明的。
Rendering Mode
Specular mode: Specular Property
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961