Fixed wrong variable name

This commit is contained in:
Sascha Willems 2023-03-24 20:03:22 +01:00
parent 03299b337f
commit 02569bf4ae
2 changed files with 1 additions and 1 deletions

View file

@ -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);