Sign in to follow this  

Using the specular component in a shader

Recommended Posts

You'll need to be a little more detailed.

Do you just want to pass the vertex specular value along to the vertex shader, then to a pixel shader?
Are you using fixed function lighting/vertex processing and a pixel shader?
Are you using a vertex shader that does lighting and wanting to pass the specular to a pixel shader?
Which shader model are you using (SM3 is a bit different)?
Are you doing all per-pixel lighting?
Are you wondering how to calculate specular?
Do you have all the computation done and you're just not sure what to do with the result?

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