Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, juanex, Grant), 1,018 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Tangent and TexCoords2 #206586
05/14/08 13:48
05/14/08 13:48
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline OP
User
RedPhoenix  Offline OP
User
R

Joined: Jan 2007
Posts: 651
Germany
Hi conitec,

In the description of matTangent and Material TANGENT it says, that the 3rd Texture Coordinates (Texcoord2) are filled with the tangents of an object.
Hohever all fx shader codes of the code folder use TexCoord1 as tangent input. Why?

Re: Tangent and TexCoords2 [Re: RedPhoenix] #206592
05/14/08 14:19
05/14/08 14:19
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
You're obviously right - the shader codes are all wrong. TEXCOORD2 is the correct tangent coordinate set. This will be fixed. I don't know why I haven't already noticed this myself - thanks for the info.

Re: Tangent and TexCoords2 [Re: jcl] #206853
05/16/08 01:26
05/16/08 01:26
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
...And nobody noticed the light coming from the wrong direction until now? Glad I don't use the templates laugh

Last edited by xXxDisciple; 05/16/08 01:27.

xXxGuitar511
- Programmer

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