away3d / away3d-core-openfl

Away3D engine for OpenFL
166 stars 41 forks source link

Gloss not working on android #84

Open codeservice opened 7 years ago

codeservice commented 7 years ago

Included below code not working on android 6 nexus 7. (checked Basic_Load3DS.hx, cpp target) Texture looking like black and white spots. Windows and Mac works.

        var material:TextureMaterial = cast(event.asset, TextureMaterial);
        material.lightPicker = _lightPicker;
        material.gloss = 30;
        material.specular = 1;
        material.ambientColor = 0x303040;
        material.ambient = 1;