Skip to content

Instantly share code, notes, and snippets.

@Davisonpro
Created February 3, 2019 19:18
Show Gist options
  • Save Davisonpro/1fb3a445d978810ff5f2d1ffe863676a to your computer and use it in GitHub Desktop.
Save Davisonpro/1fb3a445d978810ff5f2d1ffe863676a to your computer and use it in GitHub Desktop.
// Materials
var blackMat = new THREE.MeshPhongMaterial({
color: 0x100707,
shading: THREE.FlatShading,
});
var brownMat = new THREE.MeshPhongMaterial({
color: 0xb44b39,
shininess: 0,
shading: THREE.FlatShading,
});
var greenMat = new THREE.MeshPhongMaterial({
color: 0x7abf8e,
shininess: 0,
shading: THREE.FlatShading,
});
var pinkMat = new THREE.MeshPhongMaterial({
color: 0xdc5f45,//0xb43b29,//0xff5b49,
shininess: 0,
shading: THREE.FlatShading,
});
var lightBrownMat = new THREE.MeshPhongMaterial({
color: 0xe07a57,
shading: THREE.FlatShading,
});
var whiteMat = new THREE.MeshPhongMaterial({
color: 0xa49789,
shading: THREE.FlatShading,
});
var skinMat = new THREE.MeshPhongMaterial({
color: 0xff9ea5,
shading: THREE.FlatShading
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment