webgl-experiments | Some of my WebGL experiments | Graphics library
kandi X-RAY | webgl-experiments Summary
kandi X-RAY | webgl-experiments Summary
Some of my WebGL experiments. License : Affero_General_Public_License (see license.txt).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of webgl-experiments
webgl-experiments Key Features
webgl-experiments Examples and Code Snippets
Community Discussions
Trending Discussions on webgl-experiments
QUESTION
I'm trying to export a json from blender and render it using three.js. I used the following code as a base: https://github.com/jpetitcolas/webgl-experiments/tree/gh-pages/01-rotating-mesh
When I start the code as it is, it works great. However when I try to export the same blend object using the blender exporter, three.js ignores the Materials. See the following image:
the original export in the example is correct:
I use the following export settings:
Here is the exported json, which doesn't work: https://pastebin.com/dWWWT2yG
...ANSWER
Answered 2017-Nov-03 at 20:55The problem wasn't the export, but the configured light. I added proper light spots and it worked.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install webgl-experiments
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page