Jump to content
  • Advertisement


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


Dark textures on model

This topic is 5404 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

Hi, everyone! I''m currently using C# and Managed DirectX 9 to write a Quake 3 style engine. Most everything is working at this point, and I decided that I wanted to load and render MD2 models (maybe MD3 someday...). I''ve gotten them to load fine and render, except that the textures are very dark on them most of the time. Plus, moving my camera around in space changes the lighting on them. The thing is, I have no lighting! I disable it and just use lightmaps for the level geometry. I''ve calculated normals for the model faces and tried adding materials, turning on ambient lighting, and even doing some texture operations. If I move the camera around the model, it will sometimes flash with the correct lighting and will stay if I keep at the same position and angle. Does anyone have a clue what''s going on? Thanks for any help in advance!

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!