提交 9c3d5acd 编写于 作者: A alteredq

Added original textures for UTF8 models.

Now that the new version of UTF8 supports materials, we may as well use them.
上级 1e24a04f
{
"materials": {
"gums": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"tongue": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"gums": { "map_Kd": "James_Mouth_Gum_Lores.jpg" },
"tongue": { "map_Kd": "James_Tongue_Lores.jpg" },
"teethbottom": { "Kd": [251, 248, 248] },
"teethtop": { "Kd": [251, 248, 248] },
"topeyelashes": { "Kd": [66, 52, 42] },
"bottomeyelashes": { "Kd": [66, 52, 42] },
"head": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"topeyelashes": { "Kd": [66, 52, 42], "map_Kd": "James_EyeLashTopTran.png", "d": 0.999 },
"bottomeyelashes": { "Kd": [66, 52, 42], "map_Kd": "James_EyeLashBotTran.png", "d": 0.999 },
"head": { "map_Kd": "James_Face_Color_Hair_Lores.jpg" },
"eyetrans": { "Kd": [0, 0, 0] },
"pupil": { "Kd": [1, 1, 1] },
"iris": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"eyeball": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"pants": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"tshirt3": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"skinbody": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"fingernails": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"soleshoe": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"sole": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"laces": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"bow": { "map_Kd": "../../textures/ash_uvgrid01.jpg" }
"iris": { "map_Kd": "James_Eye_Inner_Green.jpg" },
"eyeball": { "map_Kd": "James_Eye_Green.jpg" },
"pants": { "map_Kd": "MJeans1TEX_Lores.jpg" },
"tshirt3": { "map_Kd": "MTshirt3TEX_Lores.jpg" },
"skinbody": { "map_Kd": "James_Body_Lores.jpg" },
"fingernails": { "map_Kd": "Nail_Hand_01_Lores.jpg" },
"soleshoe": { "map_Kd": "MCasShoe1TEX_Lores.jpg" },
"sole": { "map_Kd": "MCasShoe1TEX_Lores.jpg" },
"laces": { "map_Kd": "MCasShoe1TEX_Lores.jpg" },
"bow": { "map_Kd": "MCasShoe1TEX_Lores.jpg" }
},
"decodeParams": {
"decodeOffsets": [-2533,-149,-6225,0,0,-511,-511,-511],
......
{
"materials": {
"preview": { "Kd": [184, 136, 234] },
"nails": { "map_Kd": "../../textures/ash_uvgrid01.jpg" },
"skin": { "map_Kd": "../../textures/ash_uvgrid01.jpg" }
"nails": { "map_Kd": "hand.jpg" },
"skin": { "map_Kd": "hand.jpg" }
},
"decodeParams": {
"decodeOffsets": [-7473,-239,-8362,0,0,-511,-511,-511],
......
......@@ -95,7 +95,7 @@
// RENDERER
renderer = new THREE.WebGLRenderer();
renderer = new THREE.WebGLRenderer( { antialias: true } );
renderer.setSize( SCREEN_WIDTH, SCREEN_HEIGHT );
renderer.setClearColor( scene.fog.color, 1 );
......@@ -103,6 +103,12 @@
renderer.domElement.style.position = "relative";
container.appendChild( renderer.domElement );
//
renderer.gammaInput = true;
renderer.gammaOutput = true;
renderer.physicallyBasedShading = true;
// STATS
stats = new Stats();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册