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

Ambient light problems

Started by ibolcina Feb 1, 2003 at 12:08 PM 3 replies 200+ views
Original Post
ibolcina
ibolcina
Hi. I am having problems set ambient light correct way. Scene is way to dark. I am using this m_pd3dDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_RGBA(255,255,255,255)); Lighting is on. Whats wrong?
Pipo DeClown
Pipo DeClown
Clear() with another color than black, if your normals are wrong, you should see a black shape of your mesh.

.lick
S1CA
S1CA
Then check the ambient members of the material you set.



--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site
ibolcina
ibolcina
Hi. It was not the lighting, it was colorop which was modulate between texture and difuse color instead of "select texture".

thanks!

Topic Locked

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

Sign in to reply to this topic.