文档

Unity Engine

Unity Engine

SpecularColor

The render request returns the materials specular color buffer.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
警告
Removed. The RenderRequest struct is obsolete, use the function overload with RequestData of supported types such as RenderPipeline.StandardRequest
SpecularColor = 7

Remarks

Outputs a buffer that maps the specular RGB color at each pixel. Alpha is undefined. The value will match PBR Specular Color in specular workflow as close as possible independent of the material or shader. The buffer will be generated from the camera used in the request.