Skip to main content
gamedev.net
🔒 Locked

Cell Shade lighting problems...

Started by GamerYZ May 1, 2006 at 2:48 PM 0 replies 250+ views
Original Post
GamerYZ
GamerYZ
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?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.