-
Notifications
You must be signed in to change notification settings - Fork 229
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
Pbr terrain improvement #4972
Pbr terrain improvement #4972
Conversation
It looks like that is because the textures in the atlas are bleeding into each other. This will be tricky to get rid of |
We can fix the bleeding once and for all if we have some texture space to spare. If we repeat each texture once, so we have a 2x2 layout of each texture and then only sample the middle, we have enough padding. Of course this doubles the texture size |
I'll take the atlas bleeding issues to a separate pull request |
5b9d2b6
to
b4baa6a
Compare
Instead of layering two textures at different scales we now sample at the same scale but with two different rotations. Then we blend between them with a relatively sharp transition to make the visual texture repetition go away.