Hi there.
Just wondering how to turn off the Specular texture channel… like is possible in the inspector? What is the code to do that.
Playground here:
https://www.babylonjs-playground.com/#FDEKFI#1
I’ve tried a number of methods, but nothing seems to work. Looping through materials and setting specular intensity to zero has a small impact, but still, my character is glossy.
for (var i = 0; i < scene0.materials.length; i++) {
scene0.materials[i].specularIntensity = 0;
}
As a followon question, I’m wondering why she’s glossy in the first place. Imagining it has something to do with the default environment texture or lighting? But not quite understanding the cause… and can’t seem to impact it using the inspector (other than by turning off the specular material channel)- are there default lights in the default env. that aren’t adjustable or something?
thanks!