Render cursor on duplicated image

This commit is contained in:
loki
2021-05-06 12:00:39 +02:00
parent 3a0377851d
commit 0232d8027c
6 changed files with 115 additions and 62 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ cbuffer ColorMatrix : register(b0) {
//--------------------------------------------------------------------------------------
// Pixel Shader
//--------------------------------------------------------------------------------------
float2 PS(FragTexWide input) : SV_Target
float2 main_ps(FragTexWide input) : SV_Target
{
float3 rgb_left = image.Sample(def_sampler, input.uuv.xz).rgb;
float3 rgb_right = image.Sample(def_sampler, input.uuv.yz).rgb;