通过C#脚本读取Texutre的像素值.
heightMap.GetPixel(i, j).grayscale
遇到错误:
Texture is not readable
查找了一下资料:
需要勾选 Read/Write Enabled.
通过C#脚本读取Texutre的像素值.
heightMap.GetPixel(i, j).grayscale
遇到错误:
Texture is not readable
查找了一下资料:
需要勾选 Read/Write Enabled.