hi i am beginner i am trying to implement bump mapping with vbo and glsl. My question is: did i make bump mapping ? if i did why these edges didnt disappear ?

high and low meshes (i used low meshes of course) high low

and my opengl screen:


That's not how bump mapping works. Bump mapping adds additional detail to a model, but doesn't change the triangles. You need to render a mooth mesh to make the edges invisible (the normals of a vertex shared by 2 triangles must be the same)

  • \$\begingroup\$ Additionally the mesh could make use of some smooth shaded normals. But yes the normal map only operates on the faces themselves. \$\endgroup\$ – Sidar Mar 27 '18 at 6:32
  • \$\begingroup\$ so i did right ? but this video seems perfect with not smooth low mesh youtu.be/ApzVWuPa4A4?t=1113 \$\endgroup\$ – Emre Kaya Mar 27 '18 at 6:46
  • \$\begingroup\$ @EmreKaya your model is showing flat shading, you might want to adjust the the normals. Notice how the faces all show rigid along the edges? \$\endgroup\$ – Sidar Mar 28 '18 at 14:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.