The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
119 views

Interpolation over a network - receiving and drawing an opponent in 1v1 game

I'm a newbie Java coder and I'm creating a 1v1 game with an authoritative server and two clients. My whole network is based on UDP packets: sending positions from clients sending confirmations ...
3
votes
1answer
118 views

unable to render to multiple textures

I'm trying to make an example of deferred rendering. I'm trying to render to three separate textures the position, the normal and the color. Here is the setup : void setup() { //generate and bind ...
2
votes
1answer
167 views

In My Direct2D Gui System, Is It Safe To Use A Bitmap Render Target Per Gui Element?

I am trying to implement a relatively simple GUI system for use in a few simple games. In this system, all Gui elements extend BaseControl. BaseControl has an update and draw method, as well as ...
10
votes
1answer
711 views

Why is it Important to have render targets with the same bit size?

I am currently thinking of what type of GBuffer I'll need for deferred shading, hence I tried also to document myself online about the most common ones and their format. Most of the GBuffer that ...
0
votes
2answers
75 views

No output to screen using Multiple Render Targets and multisampling

I'm having a little trouble with XNA, but I doubt it's specific to the framework. I draw a few 3d models to 1 rendertarget with multisampling turned on, and it works fine. If I draw the same scene to ...
1
vote
0answers
129 views

OpenGL (lwjgl) Frame Buffer Object GL_COLOR_ATTACHMENT Not Being Written To

I am currently developing a deferred renderer for my game engine and I have to output multiple textures from my shader to my GBuffer. I have been struggling with getting multiple outputs from the ...
1
vote
2answers
2k views

Do rendered-to-textures need to be bound when being drawn to?

In OpenGL, if I'm rendering to a texture using a framebuffer, do I have to have that texture bound while I'm rendering to it? In code: glBindTexture(...); glTexImage2D(...); glBindFramebuffer(...); ...
0
votes
0answers
90 views

OpenGL not rendering to correct target

I have a fbo, with 8 textures in it (g-buffer). What I'm trying to do, is to render all information from opaque objects to first four(color, normal, position, depth), and info from transparent objects ...
0
votes
1answer
330 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 ...
1
vote
0answers
4k views

Multiple Render Targets, Multiple Fragment Shaders

I render a normal and a depth image of a scene. Then I want to reuse these two images to do further texture/image processing in a second fragment shader. I use a framebuffer with 3 textures attached ...
0
votes
2answers
137 views

Need transform matrix to translate the center of the view to a custom position within the target texture

My problem is as follows: I want to use a single render target texture for drawing 16 viewports where I want to display the 16 different combinations of the marching squares algorithm with my 3D ...
4
votes
2answers
357 views

Render a 3D scene in multiple windows - extended panoramic view

Is there any resource location on how to view a 3D scene from an application or a game on multiple windows or monitors? Each window should continue drawing from where the neighbouring one left off (in ...
0
votes
1answer
598 views

How do I clear a specific render target when more than one are set? Or how do I keep the depth but clear the color?

Let's say I set two render targets GraphicsDevice.SetRenderTargets(rt0, rt1); If I call GraphicsDevice.Clear(Color.Transparent); both render targets will be cleared. Therefore, how can I clear a ...
0
votes
1answer
1k views

Multiple render targets and pixel shader outputs terminology

I'm a little confused on the jargon: does Multiple Render Targets (MRT) refer to outputting from a pixel shader to multiple elements in a struct? That is, when one says "MRT is to write to multiple ...