I use a custom vertex shader defined by appearance.vertexShaderSource on my primitive. Some of the variables in the shader source are uniforms since they should be changed by users at runtime. But I can’t find a place to define the uniforms for vertex shaders. There is a
uniforms attribute in Material, but it doesn’t work for vertex shaders.