You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
I believe there is a slight issue with the exporter script that's has been written
This is probably a missing feature in the blender exporter, yes. The glTF Blender Exporter does support emissives, but would require some tweaks to the materials in Blender to convert them to PBR and freeze mirror transformations.
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?
Unfortunately this isn't feasible — what you want is probably gaussian blur in post-processing (e.g. UnrealBloomPass), not a light source, and a model loader can't automatically add that for you.
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..
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
Browser
OS
Hardware Requirements (graphics card, VR Device, ...)
Take care :)
The text was updated successfully, but these errors were encountered: