diff options
author | quou <quou@disroot.org> | 2025-02-09 18:58:29 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-02-09 18:58:29 +1100 |
commit | 7c6eada2beedfe865f15c29894b9bb82203f6de1 (patch) | |
tree | 5159344fae2dbf7aeabc55adfeb5e55d9a6545b5 /intermediate | |
parent | 629dc808c595d65cda74a86975ebd780113f3431 (diff) |
actually use the light colour
Diffstat (limited to 'intermediate')
-rw-r--r-- | intermediate/surface.glsl | 2 |
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); |