Comments on: [Shader Library] Phong Shader with Multiple Lights (GLSL) https://www.geeks3d.com/20091013/shader-library-phong-shader-with-multiple-lights-glsl/ Graphics Cards and GPUs News, Graphics Programming, Home of FurMark Tue, 07 Aug 2012 12:00:51 +0000 hourly 1 https://wordpress.org/?v=6.7.1 By: P https://www.geeks3d.com/20091013/shader-library-phong-shader-with-multiple-lights-glsl/#comment-25166 Tue, 07 Aug 2012 12:00:51 +0000 http://www.geeks3d.com/?p=5762#comment-25166 I have little actual idea but a guess instead. Could the reason behind the problem be that your objects are very close to you? If you won’t clip distance values under, say, 1.0f to the 1.0f, they’ll appear being extremely brightly lit. Just a guess though, and it’s been two years since your comment.. but hope this will help you or at least someone.

]]>
By: Master R. https://www.geeks3d.com/20091013/shader-library-phong-shader-with-multiple-lights-glsl/#comment-12677 Tue, 15 Jun 2010 19:47:57 +0000 http://www.geeks3d.com/?p=5762#comment-12677 Hello, i just wanted to say that this is a wonderful shader! but also i would like to know, how to add a attenuation? as shown in here:
http://www.ozone3d.net/tutorials/glsl_lighting_phong_p4.php

i have tried to implement this myself but some how it just overbrights my scene.

Could you please update the shader with the attenuation and send it to me via email? Thanks!

]]>