All posts tagged

Stage3D: how to setup ND2D to properly use ATF textures

ND2D doesn’t “entirely” support ATF textures (Adobe Texture Format). To solve this problem, just follow those steps: download the latest version of  “” actionscript file from Starling: In “” of ND2D, add a public variable: [sourcecode language=’as3′]public var textureFormat:String = Context3DTextureFormat.BGRA;[/sourcecode] Always in ““, add the following code  in the “textureFromATF” function : [sourcecode […]