Skip to content
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

skybox/cubic #19

Open
fashioncj opened this issue Aug 15, 2017 · 4 comments
Open

skybox/cubic #19

fashioncj opened this issue Aug 15, 2017 · 4 comments

Comments

@fashioncj
Copy link

fashioncj commented Aug 15, 2017

skybox 能够部分cubemap的全景视频

最近在研究,希望互相帮助哈哈

@fashioncj
Copy link
Author

最近实现了一下,目前是用球体的着色器来进行的,重写了vertical和texcood,目前是能显示出立方体,但是顺序还是不太对,不是很懂对应的映射关系。 但是这样做的话,从视觉上看在转动的时候会有变形,能给人感觉贴图是在一个正方体空间内部。 但是我直接截图使用cubemap的模式进行图片贴图就不会有变形情况,但是GL_TEXTURE_CUBE_MAP是能用于图片,GL_TEXTURE_CUBE_MAP_OES没有找到相关的教程,请问您对这一块是否有相关的了解。

@fashioncj
Copy link
Author

顺序问题和变形问题已经解决

@varunnayak
Copy link

@fashioncj can you please share the gist?

@JamesXu20150314
Copy link

可以共享一下吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants