- Home /
Question by
meuklight · Jan 26, 2020 at 06:59 PM ·
meshvertex shadervertex color
How to use Vertex Colors
If I use shared mesh [link]https://docs.unity3d.com/ScriptReference/MeshFilter-sharedMesh.html all shared mesh gets same color for eg all cube will be set blue one is set blue
If I use mesh [link]https://docs.unity3d.com/ScriptReference/Mesh-colors.html it throws mesh leak error
If i use mesh = Instantiate(GetComponent().sharedMesh); it clones mesh and makes null in prefab Am i missing something? Thanks in advance!
Comment