Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (1 invisible), 3,789 guests, and 15 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VladMak, Geir, ondrej, mredit, vestriaa
19207 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Eye position #29674
06/29/04 06:43
06/29/04 06:43
Joined: Jun 2003
Posts: 161
Velorien Offline OP
Member
Velorien  Offline OP
Member

Joined: Jun 2003
Posts: 161
Hi can you tell me what should i use to get the Eye Position(World) (vector i guess) in a game to use in a shader?


Need help? Well go FAQ yourself!
Re: Eye position [Re: Velorien] #29675
06/29/04 13:07
06/29/04 13:07
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
there is a vector called vecViewPos that is automatically passed to the shader ..just declare it correctly like any other vector and it will be what you want


Moderated by  Blink, Hummel, Superku 

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