mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-26 09:21:30 +11:00
fix typo in gtu-famicom that made the combfilter super-dark
This commit is contained in:
parent
22734a2873
commit
1a73032cfd
|
@ -55,7 +55,7 @@ void main()
|
|||
|
||||
if (params.combFilter > 0.0)
|
||||
{
|
||||
float prev6 = texture(Source, vTexCoord.xy - vec2(6.0 * (params.OutputSize.x * params.SourceSize.x * params.SourceSize.z), 0.0)).r;
|
||||
float prev6 = texture(Source, vTexCoord.xy - vec2(6.0 / (params.OutputSize.x * params.SourceSize.x * params.SourceSize.z), 0.0)).r;
|
||||
signal = (current + prev6) * 0.5;
|
||||
float chromaSignal = current - signal;
|
||||
I = chromaSignal * cos (colorPhase * (2.0 * pi / 12.0)) * 2.0;
|
||||
|
|
Loading…
Reference in a new issue