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

Batching #4

Closed
mitoand9 opened this issue Apr 19, 2020 · 1 comment
Closed

Batching #4

mitoand9 opened this issue Apr 19, 2020 · 1 comment

Comments

@mitoand9
Copy link

Hi,

In my custom scene, if I generate a wall with 500 chunks (each with a blue outer material and white inner material), I roughly get 2000 batches.
Now, I am still learning about graphics so it may easily be a misunderstanding from my side, but I would expect the number of batches to be 1000, since there are 2 different materials per chunk, thus 2*500 = 1000.

Moreover, since they are sharing the two repeated materials, shouldn't batching actually be much lower, thus actually saving ms?

What rendering concepts am I missing?

Thanks in advance

@mitoand9
Copy link
Author

I am also using a single directional light and environment lighting

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

No branches or pull requests

2 participants