Gamestudio Links
Zorro Links
Newest Posts
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 01/07/26 15:14
Zorro locks DLL
by jcl. 01/07/26 13:33
zorro with ccxt?
by qin. 01/07/26 07:50
The new evaluation system
by jcl. 01/05/26 08:50
bar time, right side open or close?
by Spirit. 01/03/26 08:10
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (1 invisible), 3,780 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 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