Implemented support for maintaining aspect ratio for movies (#73)

* video_patches: aspect ratio support for CPlayMovieWrapper

* config: remove movie scale mode option

* video_patches: improve movie aspect ratio correction, support intro logos

Co-Authored-By: Darío <538504+DarioSamo@users.noreply.github.com>
Co-Authored-By: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>

* api: upload Inspire research

* api: move Vertex struct

---------

Co-authored-by: Darío <538504+DarioSamo@users.noreply.github.com>
Co-authored-by: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>
This commit is contained in:
Hyper
2025-01-12 15:53:31 +00:00
committed by GitHub
parent 0737ff771d
commit 9a29b187cd
13 changed files with 139 additions and 62 deletions

View File

@@ -92,6 +92,10 @@ PixelShaderOutput main(in Interpolators In)
Out.Color.b = ValY + ValU * 2.017;
}
Out.Color.a = ValA;
if (any(In.UV < 0.0) || any(In.UV > 1.0))
Out.Color.rgb = 0.0;
Out.Depth = ValD;
return Out;
}