Archived

This topic is now archived and is closed to further replies.

Rendering without colors or normals

This topic is 5844 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Render triangles with normals, and DX does all the lighting calulations for you. What happens if you try to render without color or normals in the vertex? Does DX calculate the normal for the verts at render time? Oddball Software
http://zap.to/oddball

Share this post


Link to post
Share on other sites
>>>Direct3D applications do not need to specify face normals; the system calculates them automatically when they are needed. The system uses face normals in the flat shading mode. In the Gouraud shading mode, Direct3D uses the vertex normal. It also uses the vertex normal for controlling lighting and texturing effects. <<<

no - because the vertex normal vector is arbitary.

Share this post


Link to post
Share on other sites