|
2 registered members (TipmyPip, 1 invisible),
18,731
guests, and 7
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Normalmapping on terrain
[Re: xXxGuitar511]
#122329
04/09/07 19:49
04/09/07 19:49
|
Joined: Jan 2004
Posts: 2,013 The Netherlands
Excessus
OP
Expert
|
OP
Expert
Joined: Jan 2004
Posts: 2,013
The Netherlands
|
Quote:
maybe I sgould try passing the worldToTangent(normal,tangent) to the pixel shader...
I wouldn't do that, as it will be very slow. There are many more pixels than vertices, so as a general rule you should keep as much calculations in the vertex shader as possible.
Maybe I or someone else can spot the error if you post your code.
|
|
|
|
|
|