diff --git a/data/shaders/glsl/texturemipmapgen/texture.frag b/data/shaders/glsl/texturemipmapgen/texture.frag index 3717d5ec..613d9cdc 100644 --- a/data/shaders/glsl/texturemipmapgen/texture.frag +++ b/data/shaders/glsl/texturemipmapgen/texture.frag @@ -23,7 +23,7 @@ layout (location = 0) out vec4 outFragColor; void main() { - vec4 color = texture(sampler2D(textureColor, samplers[uniform.samplerIndex]), inUV, inLodBias); + vec4 color = texture(sampler2D(textureColor, samplers[ubo.samplerIndex]), inUV, inLodBias); vec3 N = normalize(inNormal); vec3 L = normalize(inLightVec); diff --git a/data/shaders/glsl/texturemipmapgen/texture.frag.spv b/data/shaders/glsl/texturemipmapgen/texture.frag.spv index 52db9580..5d413988 100644 Binary files a/data/shaders/glsl/texturemipmapgen/texture.frag.spv and b/data/shaders/glsl/texturemipmapgen/texture.frag.spv differ