Gamestudio Links
Zorro Links
Newest Posts
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
Zorro version 3.0 prerelease!
by TipmyPip. 02/24/26 17:09
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (Martin_HH, TipmyPip, AndrewAMD, Grant, USER0328), 5,287 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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: 28,075
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,075
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 | 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