Tagged Questions
5
votes
1answer
367 views
How to do simple bump mapping
I'm trying to do bump mapping, and I'm getting fairly close at achieving my goal. I miss one crucial piece of my puzzle to have bump mapped effect in my scene; I need to transform the normals from my ...
1
vote
0answers
291 views
Texture artifacts and GLSL bump mapping
I'm working on a 3d terrain. I tried out some existing GLSL implementations for bump mapping using normal maps from a Procedural Infinite 3D Cave Generation tutorial.
The actual code that I used is ...
3
votes
1answer
734 views
Deferred Rendering and Normal Mapping
I'm working on a deferred renderer and need a bit of help getting normal maps working.
What I've been doing with them so far is just multiplying the normal texture with the object normals ...
1
vote
2answers
210 views
A little bit confused on how to set normals in this case
I'm learning how to use VBOs and I'm following up on the tutorial at the bottom of this page.
So I went ahead and created a structure Vertex to hold vertex data.(coordinates and normals).
struct ...