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

Texture arrays and 3D textures in shaders #9008

Closed
Zylann opened this issue May 31, 2017 · 2 comments
Closed

Texture arrays and 3D textures in shaders #9008

Zylann opened this issue May 31, 2017 · 2 comments

Comments

@Zylann
Copy link
Contributor

Zylann commented May 31, 2017

I had a discussion with a shader ninja friend about how to properly texture a terrain, and I learned an efficient way to do it is to use texture arrays, or 3D textures, along with a clever use of blend indices, reducing texture fetches from N (any number of textures) to always 4, or 8 depending on your setup.
These features are available in GLES3, maybe even in GLES2.

Given that I plan to contribute a terrain module/plugin (and work on related things such as a voxel-based one), is it planned to have texture arrays support or 3D textures in Godot 3.0? Or is it already supported?

(I also thought a Minecrafty terrain would benefit a lot from this because it would fix the limitations of using an atlas, which currently creates seams due to mipmapping)

@JTippetts
Copy link

Are there any plans currently to go forward with this? I've been evaluating Godot for some projects, but at the moment the lack of texture array support is a deal-breaker.

@Chaosus
Copy link
Member

Chaosus commented Aug 20, 2018

Closed by bugsquad - 3D textures/arrays was added to Godot by #20597

@Chaosus Chaosus closed this as completed Aug 20, 2018
@akien-mga akien-mga added this to the 3.1 milestone Aug 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants