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

Render cube instead of 6 quads #40

Closed
nicholaschuayunzhi opened this issue Mar 5, 2018 · 0 comments · Fixed by #41
Closed

Render cube instead of 6 quads #40

nicholaschuayunzhi opened this issue Mar 5, 2018 · 0 comments · Fixed by #41
Labels
chore updating grunt tasks etc; refactoring production code, eg. renaming a variable

Comments

@nicholaschuayunzhi
Copy link
Contributor

Current implementation of cube is using 6 quads and this results in high draw count.
Doing a comparison with 192 cubes.

Current block:
image

Cubes:
image

As shown there is a significant fps increase due to reduce in draw count, if we were to go with these cubes. We need to be able to change how block face hovering and clicking will work.

@nicholaschuayunzhi nicholaschuayunzhi added the feature new feature for the user, not a new feature for build script label Mar 5, 2018
@nicholaschuayunzhi nicholaschuayunzhi added chore updating grunt tasks etc; refactoring production code, eg. renaming a variable and removed feature new feature for the user, not a new feature for build script labels Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore updating grunt tasks etc; refactoring production code, eg. renaming a variable
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant