question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does 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:closed
  • Created 11 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
isolincommented, Nov 3, 2016

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! 😃

2reactions
cmbruns-hhmicommented, Mar 7, 2016

As of WebGL version 2, WebGL has 3D textures. Is three.js expanding to support new features in WebGL 2?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found