Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have a parallax effect in MonoGame that consists of multiple semi-transparent layers of textures. The effect is really simple but rendering multiple transparent layers on top of each other is rather slow. There's no reason for this effect to be "accurate" so I was wondering if there is any way to somehow either optimize this effect to make it more efficient or fake the effect using some filters (shaders) to make it more efficient.

The main premise is that there are multiple full screen size semi-transparent layers drawn on top of each other from back to front. Currently operating on 3 layers + the actual game layer that also consists of some transparency.

For the game layer, I used stencil buffer to render it so I can already eliminate some pixels from being rendered, but it still is not very efficient.

share|improve this question
1  
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.