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

background parrallax too heavy #59

Open
0XDE57 opened this issue Nov 2, 2024 · 1 comment
Open

background parrallax too heavy #59

0XDE57 opened this issue Nov 2, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@0XDE57
Copy link
Owner

0XDE57 commented Nov 2, 2024

don't prematurely optimize, but SpaceParallaxSystem currently has massive off screen tile over draw... with 5 layers the cost is massive. too many textures

1280x720 we only need 3-4 x and 2-3 y -> 6 - 12 tiles max. currently there are 35 per layer for a total of 175?! bad!
1920x1080 currently there are 63 per layer for a total of 315?! terrible!
2560x1440 currently there are 91 per layer for a total of 455?! absurd!

4k must be an absolute disaster...

@0XDE57 0XDE57 added the bug label Nov 2, 2024
@0XDE57 0XDE57 added this to the alpha milestone Nov 2, 2024
@0XDE57 0XDE57 self-assigned this Nov 2, 2024
@0XDE57
Copy link
Owner Author

0XDE57 commented Nov 2, 2024

might be better off replacing with a shader but not sure how to achieve similar effect in a shader...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant