Version: 2019.4
Experimental: this API is experimental and might be changed or removed in the future.

PaintContext.GatherNormals

マニュアルに切り替える
public void GatherNormals ();

説明

Gathers the normal information into sourceRenderTexture.

This function collects the terrain mesh normalmap data from all Terrain tiles in the PaintContext into sourceRenderTexture.

This 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.

See Also: PaintContext, PaintContext.GatherHeightmap