ドキュメント

Unity Engine

Unity Engine

Normal

The render request outputs the per pixel normal.
読み終わるまでの所要時間 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
Normal = 10

Remarks

Outputs a buffer that maps the the world space normal (including normal map) at each pixel. The normal is stored as an rgb value, packed to 0...1 range. It can be unpacked using normal = packedNormal * 2.0F - 1.0F. Alpha is undefined. The buffer will be generated from the camera used in the request.