Sign in to follow this  

Cell Shade lighting problems...

Recommended Posts

I'm trying to calculate positional lighting shading values for my model, but I can't figure out why it always only shade one side of the model, even after I rotate the model. I followed the article here by first getting a vector from vertex to light position, normalize, then finally calculate the dot product of new vector and vertex normal for the shading value. What am I missing?

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