Sign in to follow this  
Polygon21

Utilising the GPU to perform Dot Product

Recommended Posts

Wat is the simplest method to tell the GPU to perform a dot product and returning a result? Currently, i am using the CPU to perform the calculations for diffuse and specular reflections..

Share this post


Link to post
Share on other sites
If you're using DirectX you can also use it via the fixed-function texture stage states. Probably the easiest method - although, shaders are by far the better option.

Jack

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