hello trying adjust bump map scale on collada model.
tried did not work:
three.js colladaloader bumpscale/weighting? way adjust bump map intensity
i using r77
, example: http://threejs.org/examples/#webgl_loader_collada
replaced current model more complex 1 consist out of 3 meshes
exported them in 1 .dae file. , contain couple of materials , textures
textures next .dae in folder , working fine.
normal not working. , alpha textures bit odd.
i tried different things so:
------ none of these work ------ if ( child instanceof three.skinnedmesh ) { child.material.normalscale = (0.03,0.03); // adjusting bump height // trying change bump value. //controlpanel.children[0].material = new three.meshphongmaterial( { map: controlpanel.children[0].material.map } ); //collada.scene.children[0].children[0].material.normalscale = (0.03,0.03); //dae.children[2].material = new three. meshbasicmaterial( { color: 0x333333, wireframe: true } ) //child.material.color.setrgb (1, 1, 0); child.material.bumpscale = 0.03;
none of them seem have effect on model @ all. , cannot find source helps explaining resons. here knows problem!
greets.
ok of guy named "bai"
found out blenders collada exporter
not add following inside bump part of .dae
<bump bumptype="normalmap">
instead does
<bump>
which results in normal map not working.