GatherNormals()
Gathers the normal information into sourceRenderTexture.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.TerrainTools
- Assembly: UnityEngine.TerrainModule
public void GatherNormals()
Remarks
This function collects the terrain mesh normalmap data from all Terrain tiles in the PaintContext into .
sourceRenderTextureThis function is called internally by TerrainPaintUtility.CollectNormals.
Important: There is no corresponding ScatterNormals function, because the normals are not stored, but calculated from the heightmap.
Additional Resources: PaintContext, PaintContext.GatherHeightmap