Blender cycles doesn’t exporter lambert materials

Description of the problem

Three.js version
  • Dev
  • r76
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • Linux
  • Android
  • IOS

I’ve been trying all different ways of exporting my object’s materials as lambert materials but it seems there’s a problem.
Just add a cube to your scene add a BSDF material to it. I tried putting the specular color to black to no avail. the exporter exports the material as a phong material

I read the exporter python files and it seems that indeed it’s possible:

`logger.debug("material.type(%%s)", material)
    if material.diffuse_shader != 'LAMBERT':
        material_type = constants.BASIC
    elif material.specular_intensity > 0:
        material_type = constants.PHONG
    else:
        material_type = constants.LAMBERT

    return material_type`

But I just tested some ways of doing it to no avail

Author: Fantashit

1 thought on “Blender cycles doesn’t exporter lambert materials

  1. Oh i see! You have this option only with the Blender Renderer. Cycles shows you a total different menu. Well, i think you need to work with the Blender Renderer and apply the mentioned specular intensity value…

Comments are closed.