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 not consistent when camera projects orthographically #1

Open
CheezBoiger opened this issue Apr 19, 2018 · 1 comment
Open

Skybox not consistent when camera projects orthographically #1

CheezBoiger opened this issue Apr 19, 2018 · 1 comment
Labels

Comments

@CheezBoiger
Copy link
Owner

Likely due to the fact that the skybox should not be rendered in orthographic view, otherwise it will simply render the box at the center. We can either send a push constant of the perspective view to the skybox pipeline, or add a second projection matrix for ortho and perspective. Push constants seem to be the better option here.

@CheezBoiger
Copy link
Owner Author

Reference of the issue.

skybox_ortho

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

No branches or pull requests

1 participant