Still Alive

It’s been a long time since I’ve posted anything on here. But then it has been a long time since I’ve done any work on home projects.

I have finally got back to making some changes on my 3D Breakout project. It now has per-pixel lighting through using shaders with the ball acting as a point light source.

This first image shows a basic per-pixel lighting effect.

Basic per-pixel lighting

This second image shows attenuated lighting where the distance from the light source affects the brightness of the light falling on the surface.

Attenuated per-pixel lighting

Advertisement

Tags: , ,


Follow

Get every new post delivered to your Inbox.