Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 21,112 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
MATERIAL TANGENT #385128
10/13/11 11:17
10/13/11 11:17
Joined: Oct 2005
Posts: 57
P
picoder Offline OP
Junior Member
picoder  Offline OP
Junior Member
P

Joined: Oct 2005
Posts: 57
In the manual:

TANGENT
Calculates the u tangents for the 3rd texture coordinate set (TEXCOORD2). This has the same effect as defining matTangent in a shader, and allows shaders to convert vectors to tangent space. The binormal vector (v tangent) can be calculated by the vertex shader from the cross product of the vertex normal and the u tangent. On animated models the tangents need to be recalculated every frame, affecting the frame rate, so don't use this flag unnecessarily.

So, do the models which are animated by GPU bones shader need to be recalculated every frame too?

Re: MATERIAL TANGENT [Re: picoder] #385130
10/13/11 11:19
10/13/11 11:19
Joined: Jul 2000
Posts: 28,029
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,029
Frankfurt
No. The CPU does not animate the model in that case and does not recalculate the tangents. They are anyway only calculated when it is really necessary.

Re: MATERIAL TANGENT [Re: jcl] #385131
10/13/11 11:30
10/13/11 11:30
Joined: Oct 2005
Posts: 57
P
picoder Offline OP
Junior Member
picoder  Offline OP
Junior Member
P

Joined: Oct 2005
Posts: 57
OK. Thanks for your answer.


Moderated by  old_bill, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1