We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9911b94 commit 0d2b295Copy full SHA for 0d2b295
UnityProject/Assets/UseRenderingPlugin.cs
@@ -99,12 +99,6 @@ private void SendMeshBuffersToPlugin ()
99
// by default they are immutable and only GPU-readable).
100
mesh.MarkDynamic ();
101
102
- // Make sure to have vertex colors so that the plugin can rely on a known
103
- // vertex layout (position+normal+color+UV). Since Unity 2019.3 it's easier
104
- // since there are APIs to query all that info.
105
- var colors = mesh.colors;
106
- mesh.colors = colors;
107
-
108
// However, mesh being dynamic also means that the CPU on most platforms can not
109
// read from the vertex buffer. Our plugin also wants original mesh data,
110
// so let's pass it as pointers to regular C# arrays.
0 commit comments