VertexNormal
The render request outputs the interpolated vertex normal.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
VertexNormal = 3
Remarks
It outputs a buffer that maps the the world space vertex normal (excluding normal maps) at each pixel. The normal is stored as an rgb value, packed to 0...1 range. Alpha is undefined. It can be unpacked using normal = packedNormal * 2.0F - 1.0F. The buffer will be generated from the camera used in the request.