3
votes
MonoGame SetRenderTarget is wiping the backbuffer
I'm going to post this answer as an adaptation from @James Carlyle-Clarke's comment. Because the code formatting in an answer makes it easier to understand. It has also been modified to make it ...
2
votes
Unity - Trying to copy the render texture for the scene rendered by a camera but it is blank?
// Set the render target
commandBuffer.SetRenderTarget(debugRT);
Here you're setting your current render target tl be the debug RenderTexture.
...
2
votes
Unity - Trying to copy the render texture for the scene rendered by a camera but it is blank?
Try to remove all calls in OnRenderObject except
commandBuffer.Blit(BuiltinRenderTextureType.CurrentActive, debugRT);
And I ...
1
vote
Accepted
Apply bloom effect to RenderTarget without affecting UI
I've figured it out thanks to the Monogame community discord. For anyone who will come across this issue -
What I did in the end is render the "bloomed scene" to the main render target of ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
rendertargets × 59xna × 17
c# × 10
rendering × 10
monogame × 9
opengl × 8
directx11 × 7
xna-4.0 × 7
c++ × 6
unity × 5
directx × 5
2d × 4
textures × 4
directx9 × 4
hlsl × 3
depth-buffer × 3
blending × 3
rendertexture × 3
frame-buffer × 3
unreal-4 × 2
unreal × 2
scale × 2
shadow-mapping × 2
deferred-rendering × 2
spritebatch × 2