working ShaderMaterial class