Jump to content
  • Advertisement

Archived

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

OrangyTang

Partially displaying a model

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

You all know the classic game Columns yes? When the 3 jewels are still falling you can switch the order in which they are arranged for better placement. So now in my own crappy knock-off version i''m adding the cycling of the jewels, which isnt a problem except i''m not liking just changing them at a push of a button. I can slide them around without a problem, but this looks slightly funny with the two ends jutting outside the 3x1 bounds of the current block. I was thinking of fading/blending them out somehow, and a couple of things spring to mind: Clip planes at the top and bottom. Accurate but gets a hard edge Stencil buffer to restrict the drawing, same problems with hard edges as clip planes. Whole model blending, i was hoping to avoid, but may have to resort to this.. Is there a way to ''load'' the backbuffer with some sort of alpha values for fade in/out and then apply this to the jewel as it is drawn? Thanks

Share this post


Link to post
Share on other sites
Advertisement

  • 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!