Implementation Guidelines for Render Targets
Posted: 02 Nov 2019, 23:50
Hey,
I am currently making progress with my CryEngine implementation for noesis (the rendering architecture actually fits quite nicely with CryEngines render passes), but i am wondering when exactly render targets are set while rendering a certain view. So far render offscreen etc. are called but no call to create or set render target is made. Do i need to do this manually?
Just wondering if there is a preffered way, otherwise i will just set a render target per view manually and compose on the final pass :D
Edit:
After looking at it with renderdoc the sample xaml i picked doesnt seem to render anything off-screen. So the general assumption is that you render to the main rendertarget if no other is specified?
If thats the case i will default create a render target per created view. Unless those also get combined onto one render target?
I am currently making progress with my CryEngine implementation for noesis (the rendering architecture actually fits quite nicely with CryEngines render passes), but i am wondering when exactly render targets are set while rendering a certain view. So far render offscreen etc. are called but no call to create or set render target is made. Do i need to do this manually?
Just wondering if there is a preffered way, otherwise i will just set a render target per view manually and compose on the final pass :D
Edit:
After looking at it with renderdoc the sample xaml i picked doesnt seem to render anything off-screen. So the general assumption is that you render to the main rendertarget if no other is specified?
If thats the case i will default create a render target per created view. Unless those also get combined onto one render target?