# vtkTexture not supporting 3D Texture?

**URL:** <https://discourse.vtk.org/t/vtktexture-not-supporting-3d-texture/1886>\
**Category:** Development\
**Created:** [October 8, 2019, 9:00pm UTC](https://discourse.vtk.org/t/vtktexture-not-supporting-3d-texture/1886 "2019-10-08T21:00:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sherinnovation](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/b487fb/32.png) [@sherinnovation](https://discourse.vtk.org/u/sherinnovation)\
**Post date:** [October 8, 2019, 9:00pm UTC](https://discourse.vtk.org/t/vtktexture-not-supporting-3d-texture/1886/1 "2019-10-08T21:00:58Z")

</div>

Hi,  
I am supposed to use a 3d texture in my vtk application and use the same in shaders. Is this possible? I read somewhere that VTK do not support 3d textures. Is that true?

---

<div class="post-metadata">

**Author:** ![cory.quammen](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cory.quammen/32/6751_2.png) [@cory.quammen](https://discourse.vtk.org/u/cory.quammen)\
**Post date:** [October 8, 2019, 9:16pm UTC](https://discourse.vtk.org/t/vtktexture-not-supporting-3d-texture/1886/2 "2019-10-08T21:16:09Z")

</div>

3D textures can be defined and used in VTK.

---

<div class="post-metadata">

**Author:** ![K\_Yan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/k_yan/32/6244_2.png) [@K\_Yan](https://discourse.vtk.org/u/K_Yan)\
**Post date:** [August 23, 2023, 1:50pm UTC](https://discourse.vtk.org/t/vtktexture-not-supporting-3d-texture/1886/3 "2023-08-23T13:50:59Z")

</div>

How do we define a 3D texture and use in VTK? Can you give some examples?
