updates to how colour and position are set from latest three.js update