Skip to main content
GameDev.net gamedev.net
🔒 Locked

Quick Direct3D Question

Started by DanTheRocker Dec 11, 2001 at 9:26 PM 2 replies 150+ views
Original Post
DanTheRocker
DanTheRocker
struct CUSTOMVERTEX { D3DXVECTOR3 position; // vertex position D3DXVECTOR3 normal; // vertex normal }; What is the vertex normal?
-Dan
Mark_C
Mark_C
Which was the face is.. looking..

Edited by - Mark_C on December 11, 2001 10:44:12 PM
abdulla
abdulla
its a unit vector used to calculate lighting and such
JimboC
JimboC
It would be the direction of a line that is drawn perpendicular to the polygon (meeting at a 90 degrees angle).

Topic Locked

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

Sign in to reply to this topic.