Multiple Dynamic Lights
2,026
2
Advertisement
I put the finishing touches on my basic lighting model this weekend. Nothing too special but I can now have an arbitrary number of lights passed into the fragment shader to use for lighting. The lights are just basic directional lights but they get the job done for now and more importantly no longer contain any hard coded values.
Now that I have a basic level of rendering together I'm going to move onto the input system. It's nice having some pretty pictures being drawn but right now I don't have any way to interact with any objects in the scene to really see how the lighting holds up to real time movement.
I present another duck shot with one green light and one red light coming in from different sides of the duck model.
Now that I have a basic level of rendering together I'm going to move onto the input system. It's nice having some pretty pictures being drawn but right now I don't have any way to interact with any objects in the scene to really see how the lighting holds up to real time movement.
I present another duck shot with one green light and one red light coming in from different sides of the duck model.

Advertisement
Advertisement
Advertisement
Discussion