Skip to content

Exporter for Blender / Emissive properties #12522

@JustJarethB

Description

@JustJarethB
Description of the problem

Hi, I have a project in Blender which I downloaded from a tutorial (.blend Here ). It contains a few Emissive materials, one of which is meant for lights, the other for highlights (think led strip). Using the exporter and loader, these materials are not showing as emissive of any sort. I have gone through the json manually and set some of the "colorEmissive" values which has given a more pleasing result, but is still not what I would like.
Hopefully I'm not missing something here..

  1. I believe there is a slight issue with the exporter script that's has been written
  2. Would it be possible to have some way of automatically creating a light source for emissive materials so they behave more similarly to those on Blender? Perhaps even another Material type?

Extract from JSON
Adapted:
{ "depthTest":true, "blending":1, "vertexColors":false, "transparent":false, "colorSpecular":[0.5,0.5,0.5], "colorEmissive":[0,18,124], "DbgIndex":1, "wireframe":false, "opacity":1, "shading":"phong", "specularCoef":50, "visible":true, "colorDiffuse":[0.0264838,0,0.38812], "doubleSided":true, "DbgColor":15597568, "DbgName":"RedLines", "depthWrite":true }

Three.js version
  • Dev
  • r87
  • ...
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, ...)

Take care :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions