-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Description
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..
- I believe there is a slight issue with the exporter script that's has been written
- 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 :)