|
1 registered members (TipmyPip),
18,631
guests, and 7
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Normalmapping on terrain
[Re: xXxGuitar511]
#122340
04/10/07 07:31
04/10/07 07:31
|
Joined: Jan 2004
Posts: 2,013 The Netherlands
Excessus
OP
Expert
|
OP
Expert
Joined: Jan 2004
Posts: 2,013
The Netherlands
|
Quote:
This is most certainly not faster than using the tangents calculated by the engine.. why would you think that? Tangents are calculated once only, not every frame...otherwise it would be super slow.
Oh yes, ofcourse.. I was thinking about this quote of the manual, but ofcourse it only applies to animated models and certainly not terrains or static entities:
Quote:
On animated models the tangents have to be recalculated every frame, affecting the frame rate, so don't use this flag unnecessarily.
The reason it works is that with terrains, you know the texture coords of nearby vertices since it's a regular grid (also on the uv map).
I find it strange that you get tangents set to 0.. What version are you using, xXxGuitar? From my tests I did get correct tangents for terrains in 6.50.. The ent_fixnormals, I think, just solved a problem with an old .mdl format in the 6.50 engine.
|
|
|
|
|
|