away3d / away3d-core-openfl

Away3D engine for OpenFL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gloss not working on android

codeservice opened this issue · comments

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;