effect multiple lights phong point-light gouraud directional-light
These Gouraud and Phong shaders accept multiple lights as input and can draw point and directional light in one pass. have fun ;)
pretty cool, super clean looking example. very helpful for beginner who don't want to dive into shader programming. should be added to the addonpack.
very cool ,useful , thanks
I uploaded a new version.
Both shaders can now draw directional and point lights at the same time and are simply called Phong and Gouraud :)
anonymous user login