component for three.js objects