Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / help with multiple lights and shaders

Author
Message
Wilvis
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 5th Jul 2009 00:12
HI Guys,

I a just starting to work with shaders and GDK. I have been converting some of the dbpro shaders to GDK to see how they work.

Now i am trying to added more then one light to the shader. I Have looked at a bunch of dbpro stuff and they seam to have a command that GDK doesn't have.

The function is:
Set Effect Constant Vector Element

Do any one know if there is function light this in DGK I am using 7.3, and have looked at the headers and i could not find anything like this Or is there a better way to pass multi lights to a shader.

Login to post a reply

Server time is: 2024-10-01 06:00:15
Your offset time is: 2024-10-01 06:00:15