How to use signal history in spark ar?

99封情书 提交于 2021-01-29 07:21:18

问题


I'm trying to display the delayed image from the camera:

material0.setTextureSlot(Shaders.DefaultMaterialTextures.DIFFUSE, cameraTexture0.signal.history(1)[0]);

but it's not working :( There is only white color on material0.

Can you please help me with that?

来源:https://stackoverflow.com/questions/63989984/how-to-use-signal-history-in-spark-ar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!