graphics - Combining a raytraced scene with a rasterized scene in DirectX11 -


i have 2 scenes in directx11, 1 using rasterization , other uses raytracing via full screen quad in pixel shader. i'm trying combine 2 while preserving correct depth information i'm not sure how go it.

i suspect process like

  1. render raytraced scene , output 2 textures in pixel shader, 1 depth (using sv_depth) , 1 colour.
  2. apply both of outputs step 1 active colour , depth targets , render rasterized scene.

does know how or have links regarding subject.


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -