-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS problem with AR Foundation #55
Comments
Hi, had a similar issue (using ipad). Solution by @PabloBuitrago is working nicely. |
Longshot here, but do you happen to still have the point.shader file? After trying this on my end, my pointlcouds either still don't show at all or showing pink. |
Incase anyone else runs into this issue in the future. Pablo's comment is correct. I had to move the PCX folder out of my package cache and directly into my Assets folder. I found that the script kept resetting otherwise, and wouldn't save the changes when converting from half to float. Here's the final script I ended up with per the recommendations above: Shader "Point Cloud/Point"
} |
Hello Keijiro,
I want to congratulate you on the work of this Unity project it looks really cool.
I was currently working with Unity 2019.1.21f and AR Foundation 3.1.0, I had problems with the Pcx/Assets/Pcx/Runtime/Shaders/Point.shader shader since the graphics API used by the AR Foundation is OpenGLES3 (and not used OpenGLE2 because AR Foundation not supported but only shader when not used AR Foundation worked well) and in compilations in iOS it gave me this result:
In the end, in the Point.shader file, change all the half to float, since you got the half non-recognition error when loading the point cloud. And I made it look good:
Any ideas why this happens?
(I am loading .ply files at runtime after download with external cloud, now works in Android and iOS with AR Foundation)
Thanks
The text was updated successfully, but these errors were encountered: