Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,310 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | 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