3D Texture?
See original GitHub issueDoes Three.js support GL 3D textures? As in, something that somehow maps to the following in GL:
glGenTextures(1, &texname);
glBindTexture(GL_TEXTURE_3D, texname);
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, GL_REPEAT);
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, GL_REPEAT);
glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, GL_REPEAT);
glTexImage3D(GL_TEXTURE_3D, 0, GL_RGB8, WIDTH, HEIGHT, DEPTH, 0, GL_RGB,
GL_UNSIGNED_BYTE, texels);
Issue Analytics
- State:
- Created 11 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
3D TEXTURES | Free seamless PBR textures with Diffuse ...
Free seamless PBR textures with diffuse, normal, height, AO and roughness maps.
Read more >Textures for 3D, graphic design and Photoshop!
Textures.com is a website that offers digital pictures of all sorts of materials. Sign up for free and download 15 free images every...
Read more >Poliigon - Textures, Models and HDRIs for 3D rendering
Seamless PBR texture sets, photoscanned models and HDRIs for archviz. ... A 3D library that matches the growing needs of today's architects and...
Read more >Free textures: where to get 3D textures for your artwork
Free textures can be fantastic resources to help you save time and add detail to your 3D art and design. Textures can be...
Read more >Free seamless PBR Textures for CG artists - Icons8
Download a modern collection of free 3D textures & CG materials for 3D artists. High-quality textures to add depth and character to your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

3D textures as well as the unsigned short type would be a great feature which is probably not difficult to implement. I absolutely vote for it! 😃
As of WebGL version 2, WebGL has 3D textures. Is three.js expanding to support new features in WebGL 2?