drojdjou / J3D

J3D - WebGL demos & experiments

Home Page:https://j3d.bartekdrozdz.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Textures don't load on Unity3D Exported scene

nklsrh opened this issue · comments

Chrome/Chromium/Firefox/Aurora latest on Windows 7 with Core i7 Sandy Bridge.
Mate says it works on Firefox for Mac.

Scene loads, models load, but all black w/ no textures or lights.

Do you get any kind of information in the console?

No information at all, sorry.

Images:
[Firefox] http://twitpic.com/8fhsrt
[Chrome] http://twitpic.com/8fhszl

I get the same result with the URL your gave but also if I export on my own from Unity3D... I made the tutorial (with textures in ARGB-32bits) and I've updated the last JS and exporter files. Firebug doesn't say anything wrong and textures are perfectly loaded in the "Network section"...

If this can help you : I can't see anything either in the Unity3D exported scene at http://www.everyday3d.com/j3d/demo/002_Scene.html

But thanks to you for your work and good luck for the following ;-)

The issue was related to how lights were handled in shaders. It is fixed now.