Horde3D
http://horde3d.org/forums/

createTexture2D() and render targets
http://horde3d.org/forums/viewtopic.php?f=2&t=772
Page 2 of 2

Author:  Irdis [ 10.12.2016, 22:02 ]
Post subject:  Re: createTexture2D() and render targets

It seems that with forward pipeline alpha channel is modified during rendering (it is not 1), and that is why you see it as transparent after you add the texture to the scene. You should probably add another shader that sets alpha to 1 and create new pipeline with this new post-processing step, or modify existing shaders.
As for deferred - are you using deferred pipeline for both cameras or only for the first one? Maybe there is a collision somewhere in the engine - if you use the same pipeline for both cameras, maybe GBUFFER is not cleared. I do not know the cause, I can only guess.

You can try to profile/debug your graphics with GPUPerfStudio (for AMD cards) or NSight (Nvidia cards). These tools will show you the internal state of OpenGL during rendering steps and will probably help you with finding the cause.

Please post your code here, I'll try to debug it too.

Author:  Almahmudrony [ 13.12.2016, 09:37 ]
Post subject:  Re: createTexture2D() and render targets

yep!
You are right..
it's the problem with the pipeline, if i use same pipeline for both camera then it shake up each other, but it's different for HDR pipeline..
here i use HDR pipeline for both camera...

Attachments:
File comment: RTT using hdr pipeline
zzhdr.jpg
zzhdr.jpg [ 155.97 KiB | Viewed 7214 times ]

Page 2 of 2 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/