TestRenderToTexture

Hi,

I noticed some banding with the TestRenderToTexture.



Is this due to a texture synch issue?

Is there any way to get rid of it?



UPDATE: made another program where rendertotexture works fine. Is anyone else get the banding with the test program?

ty,

sv


Looks good over here. Where do you get 'banding'? Have any screenshot?

yes, just like when filming a computer monitor with a slow shutter speed.



However, my new program works fine. Not sure what's up with that.

sonicviz said:

yes, just like when filming a computer monitor with a slow shutter speed.

Ah, well, got that, too, now (was not visible as of synced display).
It is caused by a single dark rendering result for the texture (some restored back-buffer?) . . .

Ok, problem identified and glitches removed:

I've taken the box in TestRenderToTexture out of the opaque queue to remove glitches. They were caused by adding the box to the render queue and calling render to texture afterwards, but before the queue was rendered.

In general render to texture should happen before rendering the scene (which is not true for this test! - one should do some work here… )

ah…kk…did not have that in my prog.



ty.

The test was made wrong when RTT started touching the RenderQueue.