Creator 版本号:1.5
运行时目标平台:WebGL
手机浏览器平台:浏览器
请问一下, 我Texture是透过cc.loader.load下载回来后
他会回传Texture2D
现在这材质我需要设定premultiplied = true
此时我使用texture.handleLoadedTexture(true);
因为texture._htmlElementObj 被设成null 因次无法使用
请问有什么好方法可以使用premultiplied texture吗?
Creator 版本号:1.5
运行时目标平台:WebGL
手机浏览器平台:浏览器
请问一下, 我Texture是透过cc.loader.load下载回来后
他会回传Texture2D
现在这材质我需要设定premultiplied = true
此时我使用texture.handleLoadedTexture(true);
因为texture._htmlElementObj 被设成null 因次无法使用
请问有什么好方法可以使用premultiplied texture吗?
现在 htmlElementObj 由于被回收再利用了,所以无法重新设置,我们在 1.6 争取给 Texture 添加 premultiplied 选项来解决这个问题
现在有其他好的解法吗!!
因为我有些图片都很需要靠这样画面才会正常 QQ
假如没有只能修改引擎了
2.0 会支持在编辑器里设置