Added shadow from omni light source. Added useShadow and excludeLight() method in Object3D. Fixed normals and tangents of skins from collada. Now can be used unlimited light sources with StandardMaterial.

This commit is contained in:
Andrey Kopysov
2012-04-13 18:39:44 +06:00
parent 63261279a5
commit be2d825a46
35 changed files with 1613 additions and 271 deletions

View File

@@ -44,7 +44,9 @@ package alternativa.engine3d.loaders {
private static const CHUNK_FACESMATERIAL:int = 0x4130;
private static const CHUNK_FACESSMOOTHGROUPS:int = 0x4150;
private static const CHUNK_MAPPINGCOORDS:int = 0x4140;
//private static const CHUNK_OBJECTCOLOR:int = 0x4165;
private static const CHUNK_TRANSFORMATION:int = 0x4160;
//private static const CHUNK_MESHANIMATION:int = 0xB002;
private static const CHUNK_MATERIAL:int = 0xAFFF;
private var data:ByteArray;