whiteflare

VRC canny に投稿する原稿

Oct 19th, 2020
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. In Quest, VRC/Panosphere does not work and draws an error material.
  2. I looked at the Panosphere implementation and found two problems.
  3.  
  4. 1. only_renderers does not have gles3.
  5. 2. no UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX.
  6.  
  7. I've tried to fix these problems, what do you think?
  8. https://pastebin.com/Fwq6b7Tw
  9.  
  10. Note that in the above implementation, I removed ShaderForge, added CullMode, and formatted the whole thing. Sorry if it's superfluous.
  11.  
  12. Thank you.
  13.  
  14. ======
  15.  
  16. Questでは、VRC/Panosphereが動作せず、エラーマテリアルが描画されます。
  17. Panosphereの実装を見てみたところ、2つの問題を見つけました。
  18.  
  19. 1. only_renderers に gles3 がない。
  20. 2. UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX が無い。
  21.  
  22. これらの問題を修正してみたのですが、いかがでしょうか?
  23. https://pastebin.com/Fwq6b7Tw
  24.  
  25. なお、上の実装ではShaderForgeを削除し、CullModeを追加し、全体の書式を整えました。余計でしたらすみません。
  26.  
  27. ありがとう。
Add Comment
Please, Sign In to add comment