Maybe simple examples will help you?
From the Collection of examples from discourse.threejs.org
see Little Shader Book