Sign in to follow this  

Setting variables in an effect

Recommended Posts

How would I set a vector in an effect (ID3DXEffect). I have two float4 variables in the file that are used. One is the object position and the other is the light position and it needs to bet set from the program. How can I set it?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this