Skip to content

Commit ae5a73e

Browse files
committed
Fixed bug in lighting shader
1 parent 701ef0c commit ae5a73e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

booksamples/chapter-10/resources/shaders/lighting_fragment.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ layout(set = 0, binding = 0) uniform sampler2D albedoSampler;
88
layout(set = 0, binding = 1) uniform sampler2D depthSampler;
99

1010
void main() {
11-
outFragColor = texture(albedoSampler, inTextCoord).rgb;
11+
outFragColor = texture(albedoSampler, inTextCoord);
1212
}

0 commit comments

Comments
 (0)