summaryrefslogtreecommitdiff
path: root/intermediate
diff options
context:
space:
mode:
Diffstat (limited to 'intermediate')
-rw-r--r--intermediate/surface.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/intermediate/surface.glsl b/intermediate/surface.glsl
index fff15ed..17ddd06 100644
--- a/intermediate/surface.glsl
+++ b/intermediate/surface.glsl
@@ -202,7 +202,7 @@ void main() {
spec_col *
specular_brdf(uv, ref, light_dir, view_dir, nrm) *
cos_theta_i;
- light += (diffuse + spec) * l.brightness;
+ light += (diffuse + spec) * l.brightness * l.colour;
}
colour = vec4(ambient + light, 1.0);