I see some three.js shader code online which reads:
vCameraPosition = cameraPosition;
Where does cameraPosition come from, and where in the API can I learn about it?
Built-in uniforms and attributes of are defined in WebGLProgram
. Check out the following doc page for more information.