Skip to main content
gamedev.net
🔒 Locked

Diffuse Vertex Colours

Started by Yratelev 0 replies 200+ views
Original Post
Yratelev
Yratelev
Hi easy question: how do I combine the diffuse colour of verticies with lighting? I have previously d3dDevice->SetMaterial(aMaterial) for a previous scene and it takes these values of diffuse and not my verticies. any help? thanks Yratelev
Yratelev
Muhammad Haggag
Muhammad Haggag
Check this FAQ section.

Beware though, that there is no D3DRS_LIGHTENABLE render-state, it should be D3DRS_LIGHTING instead.

Muhammad Haggag
Bitwise account: MHaggag -

Topic Locked

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

Sign in to reply to this topic.