- Use with Animation Texture Baker
- Generate Surface-Position-Texture. (and Normal-Texture)
- アニメーションメッシュの頂点の位置テクスチャから、メッシュの表面の位置テクスチャを生成する。
- You need check "Generate Lightmap UVs" in importSettings.
- Lightmap UV(uv2) is used for generate texture.
- Setup textures generated from Animation Texture Baker, to inspector.
- Then, run.
- Call
SurfaceTextureGenerator.UpdateRts()
. SurfaceTextureGenerator.surfacePosTex
andSurfaceTextureGenerator.surfaceNormTex
for get textures.
horse is from Unity AssetStore. big up