我可以在GLSL中使用来自后期处理着色器的多个输出吗?
我正在将Reshade与Super Depth 3D配合使用。 我在其中添加了顺序帧3D输出(用于120Hz监视器)。 我需要重写其中的一部分,以允许60FPS游戏以3D显示。
PSEUDOCODE:
Right now it is working only when game hit stable 120FPS with provided algorithm:
for each frame:
if frame is even:
generate left eye image
else:
generate right eye image
I have to change this to following one (so game can be played in 60FPS):
for each frame:
generate left eye image AND right eye image
着色器之前的帧顺序: ABCDEF
着色器之后: AABBccdDEEFF
编辑
显然Reshade不允许通过着色器注入任何新帧,因为它只是将信息附加到已渲染的帧上。
那么是否可以通过其他软件来插入框架? (例如ENB) DirectX / OpenGL游戏是否有黑框插入的软件实现? 我假设它必须获得60FPS的流并输出120FPS。