0
votes
0answers
93 views

What is “ping pong” in the context of graphics rendering?

I have to render a scene, once per light, and blend the result of the various passes. I heard and read that one way to increase performances and render targets to use would be ping pong. I'm new to ...
2
votes
2answers
87 views

Render with multiple lights (one pass per light)

Hi I'm new here so sorry if I make some mistakes writing this question. I have already a system that at the moment handle multiple lights just passing an array of light struct and loop through it. I ...
0
votes
1answer
39 views

Render on other render targets starting from one already rendered on

I have to perform a double pass convolution on a texture that is actually the color attachment of another render target, and store it in the color attachment of ANOTHER render target. This must be ...
0
votes
1answer
35 views

XNA 4.0 - Strange Behavior when using RenderTarget2D

My Problem is similar to XNA 4.0 - Why does using a RenderTarget2d cause transparency on models?. I want to render my scene to a Texture2D and then draw the texture. If I set no RenderTarget at all ...
2
votes
1answer
233 views

Issues upscaling pixel art with SampleState.PointClamp

I'm developing a 2D game, and I'm striving to create a nice blocky low-res appearance for the game, yet allow it to be played at variable resolutions. So, I've researched resolution independency and ...
2
votes
2answers
436 views

How to manage drawing loop when changing render targets

I'm managing my game state by having a base GameScreen class with a Draw method. I then have (basically) a stack of GameScreens that I render. I render the bottom one first, as screens above might ...