I want to pass multiple textures to the shader as an array, like this:
layout(binding = 0) uniform sampler2D uTextures[8];
And how should I assign values to the array above using glsl's binding points layout?
I want to pass multiple textures to the shader as an array, like this:
layout(binding = 0) uniform sampler2D uTextures[8];
And how should I assign values to the array above using glsl's binding points layout?