Understanding the difference between a 2D texture array and a 3D texture?
问题 If I understand correctly, if I was to set TEXTURE_MIN_FILTER to NEAREST then there's not much difference between sampler2DArray / TEXTURE_2D_ARRAY and sampler3D / TEXTURE_3D The differences seem to be GenerateMipmap will blend cross layers with 3D textures but not 2D arrays the Z coordinate passed to texture in GLSL is 0 to 1 with 3D textures but an 0 to N (depth) in 2D arrays. If filtering is not NEAREST 3D will blend across layers, 2D array will not. Correct? 回答1: Incorrect. There's one