arfoundation-samples icon indicating copy to clipboard operation
arfoundation-samples copied to clipboard

How to update enviroment cubemap every frame

Open FantasyTianyu opened this issue 5 years ago • 5 comments

When I place AREnviromentProbe automatically,it works fine,but the enviroment cubemap does not update every frame,it always update after a few moment,so I want to know how to update the enviroment cubemap in realtime? for example,I put a sphere that can show the reflection of the enviroment,when I put my hand near the sphere,my hand will not show on the sphere immediately,it will show after a few moment.I hope it can show immediately.

FantasyTianyu avatar Dec 08 '20 10:12 FantasyTianyu

Environment probes are updated by the underlying AR framework (e.g., ARKit or ARCore). There is no way to control the frequency, and they generally do not update in realtime.

Can you explain your use case a bit more?

tdmowrer avatar Dec 08 '20 19:12 tdmowrer

In this video https://www.bilibili.com/video/av244949139/ you can see that the reflection on the car paint is realtime,it's made by unreal engine,I also think the enviroment probes are updated by the underlying AR framework,so if it can be implemented in unreal engine,I think mabe it can be implemented in unity too. My use case also hopes to be similar to car paint, which the enviroment reflection can be update in realtime

FantasyTianyu avatar Dec 09 '20 02:12 FantasyTianyu

I don't know what that was made with (other than Unreal, of course), but ARCore & ARKit do not update in realtime, so I suspect that the demo was made using something else, or a custom solution. Do you have any more details or evidence to suggest this was using data from a specific AR framework?

tdmowrer avatar Dec 10 '20 03:12 tdmowrer

I guess it was made with arkit because the video's title said it was made with arkit.mabe it has some else or custom solution. Now that I know arkit do not update in realtime, I'll find another way,thank you for your reply.

FantasyTianyu avatar Dec 10 '20 03:12 FantasyTianyu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 17 '20 12:12 stale[bot]