Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, SBGuy, TipmyPip, ozgur), 923 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | chip programmers | 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