# Search:

Type: Posts; User: Moetman

## Search: Search took 0.00 seconds.

by Moetman
Replies
1
Views
311

### Computing Tangents after deforming mesh in shader

So I have a plane, I have sent in the Tangent attributes to the shader.
I have a normal and height map (normal map generated off line from height map). Height map is used to deform mesh, normal map...
2. ## Thread: Normal Visualizer help

by Moetman
Replies
1
Views
293

### Normal Visualizer help

HI,I want to code a normal visualizer using the Geometry shader however I'm not sure if I need a seperate Geometry shader for this or incorporate it into my current one. I don't think the latter is...
3. ## Thread: Calculating Normals analytically (Jacobian Matrix?)

by Moetman
Replies
2
Views
564

### Calculating Normals analytically (Jacobian Matrix?)

Hi I have this Gerstner function:

float PI = 3.14159265358979323846264;
P = pos;

for (int i = 0; i < numWaves; ++i) {
float W =...
4. ## Thread: Lookup texture coordinate issue

by Moetman
Replies
1
Views
1,270

### Soved - was my stupid tex coord calculations :P

Soved - was my stupid tex coord calculations :P
5. ## Thread: Lookup texture coordinate issue

by Moetman
Replies
1
Views
1,270

### Lookup texture coordinate issue

Hi,

I have a 4x4 float texture containing positions ranging from 0 ..10.
I have a lookup float texture a 64x64x64 packed as a 2D texture 64x4096 containing some vectors in each texel.

the...
6. ## Thread: Calculating the Normal of a pixel

by Moetman
Replies
1
Views
1,629

### Calculating the Normal of a pixel

Can someone provide some insight into this problem? If I have a R,G,B value - How do I calculate the normal? Do I take the normalized value of the surrounding pixel values?

Regards
Results 1 to 6 of 6