Jump to content
  • Advertisement


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


Shadow Maps and Multitexture

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

This may be a stupid question, but I have a high fever so I''m not really thinking clearly. ...what would be the best way to implement projected shadow maps, if I''m already utilizing multitexturing on my objects, and want to aim for hardware that only has two texture stages? Would I have to brute force it? Anyways, thanks in advance. I''m just trying to wrap my head around a good shadow technique to use, and shadow maps seem to be the most efficient and effective. Best Regards, Julian Spillane

Share this post

Link to post
Share on other sites
And multi-texturing is not suported by all the video cards.

What you can do is (what I do):
One poly at time do :
Disable the writing to the depthbuffer
Now you can draw your wall without your shadow map.
Your multi texturing and bla bla bla
enable the write to z-buffer.
Draw again your polygone with your shadow map texture on it with a multiply blending.

Do next poly.

The one thing I dont like in this, is that make a lot of blending and some poor computer will lag a lot.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!