You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a scene with a meshinstance3d with the shader above as a material.
Give that shader a Texture2DArray as parameter.
With the vulkan renderer this will run fine, but with opengl3 the texture is read as being completely black.
Calinou
changed the title
Sampler2dArray/Texture2DArray does not work with opengl3 backend
OpenGL: TextureArrays and Texture3D samplers not implemented yet
Mar 3, 2023
Godot version
Godot Engine v4.0.beta10
System information
archlinux; vulkan on dedicated
NVIDIA GeForce RTX 3060 Laptop GPU
; opengl3 on integratedAMD Radeon Graphics (renoir, LLVM 14.0.6, DRM 3.49, 6.1.1-arch1-1)
Issue description
With the opengl3 backend a shader will read a Samper2dArray uniform as being completely black.
opengl3:

vulkan:

used shader:
Steps to reproduce
Create a scene with a meshinstance3d with the shader above as a material.
Give that shader a Texture2DArray as parameter.
With the vulkan renderer this will run fine, but with opengl3 the texture is read as being completely black.
Minimal reproduction project
sampler2darray.zip
The text was updated successfully, but these errors were encountered: