mrdoob/three.js — Issue #1223: Dark diffuse texture on converted OBJ issue.
Author: BKcore
Created: 2012-01-31 15:50:47+00:00
State: open

# The link
http://demo.bkcore.com/threejs/webgl_tron.html

# The context
Ok so i recently decided to give Three.js a try (I'm fairly new to WebGL and stuff).
Thus, I created a quick 3D model in Max (a Tron disk), UVW unwrapped it, created a quick diffuse texture and exported it using Three.js Max exporter.

Then i took the webgl_loader_json_objconverter example as a base and modified the code to load my model.

# The issue
Everything went smoothly exept for the diffuse texture. It loads well, but the texture seems far darker than it should be (http://demo.bkcore.com/threejs/tron/trondisk_diffuse.jpg) and the object does not react to the point light.

I guess it comes from the MeshFaceMaterial used, so I tried with the Phong and Lambert materials.
On these two the object seems to react normally to the point light but the diffuse texture is not showing.

Any idea ?

I tried to look to the wiki and on the net but didn't find anything about this.

Thank you.
Thibaut D.