Jump to content
  • Advertisement


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


Does anybody know why this is happening?

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

In a 2D game I''m working I have water being drawn at the bottom of the screen. Once under the objects, then the objects are drawn, then the water is drawn again with an 128 alpha over the objects. The more you move down the more the rows of water texture get tiled. At home I have a Geforce2 Ti and I never see any problems with it. At another computer with a 3dfx Velocity 100/200 as soon as I go from drawing 3 layers, to 3 layers and a couple pixels from the next layer the frame rate drops from 75fps to 37fps instantly. I tried switching from using DrawPrimitiveUP and drawing one textured quad at a time to batching all the vertices and using DrawPrimitive to draw all the water at once but didn''t see any improvement. Does anybody know why this is happening? Also, when batching is there a way to draw multiple textured quads that aren''t connected without using 6 vertices per rectangle? Thanks.

Share this post

Link to post
Share on other sites
This is probably due to that fact that it ran out of memory on board or multi-texturing issues so welcome to the game programming world.

"Programming is like sex make one mistake, and you have to support it forever."
Homepage: www.ussshrike.com/pcwebvia/

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!