Eye position

Posted By: Velorien

Eye position - 06/29/04 06:43

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?
Posted By: Matt_Aufderheide

Re: Eye position - 06/29/04 13:07

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
© 2024 lite-C Forums