PDA

View Full Version : Blinn Phong Bump Mapping



jmfel1926
05-21-2013, 05:06 PM
Hello to everyone,

i am quite new to the forum and to opengl.
I have a project which as the title implies is the Blinn Phong Bump Mapping.
I have to do it without shaders. I have problem with the Blinn Phong equation
when applied to a texture.I want to make a Brick wall.
Is there a sample code or a tutorial that i can follow? i have searched
many sites but all have just the equation and what each parameter is but i want
something more than that as i have the code but it doesn't seem to work. I get
"strange" color pixel values in the final texture.