0
votes
0answers
24 views

DirectX9 Normal/Bump Mapping Weird Texturing Artifact

As you can see the artifact here is like a triangle of the mesh getting more light. The important part of my code is below. This is the vertex declaration. VertexElement[0].Stream = 0; ...
4
votes
1answer
105 views

Calculating normals after displacement mapping

I'm using C++, DX11 and tessellation. After tessellating a triangle I apply displacement mapping to the new vertices. But they still have the original triangle's normal so the lighting calculation ...
4
votes
2answers
1k views

XNA 4.0 - Normal mapping shader - strange texture artifacts

I recently started using custom shader. Shader can do diffuse and specular lighting and normal mapping. But normal mapping is causing really ugly artifacts (some sort of pixeling noise) for textures ...
1
vote
1answer
592 views

Sampling from Normal Map and Diffuse Map in Pixel Shader

I'm having some issue changing a basic lighting shader to take a normal texture and a diffuse texture for a model and then using the normal texture for lighting. The code is very simple and i can't ...
3
votes
2answers
593 views

Trying to understand relatively simple normal map antialiasing paper

See this paper: ftp://download.nvidia.com/developer/Papers/Mipmapping_Normal_Maps.pdf They describe the very simple implementation of an algorithm for antialiasing normal maps. I don't understand ...