Quantcast
Channel: Answers for "Changing the vertex color by script"
Browsing latest articles
Browse All 4 View Live

Answer by whydoidoit

The shader you posted does not read a vertex colour or pass a colour from the vertex to the fragment... struct vertexInput { half4 vertex : POSITION; half3 normal : NORMAL; half4 texcoord : TEXCOORD0;...

View Article


Answer by highpockets

OK, OK, after a bit of research I found my solution in the documentation: http://unity3d.com/support/documentation/Components/SL-VertexProgramInputs.html I was failed to pass the color input value in...

View Article

Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>