FidelityFX-FSR icon indicating copy to clipboard operation
FidelityFX-FSR copied to clipboard

question about luma*2

Open qihaoliu0 opened this issue 3 years ago • 0 comments

Hi! about RCAS, why it is calculated as L = B*0.5 + (R*0.5) + G? I searched Luma at wiki。 B's coefficient seems is always <= 1.2, why using 0.5 as B's coefficents in code?

  // Luma times 2.
  AF1 bL=bB*AF1_(0.5)+(bR*AF1_(0.5)+bG);
  AF1 dL=dB*AF1_(0.5)+(dR*AF1_(0.5)+dG);

I'm very confused about this , cloud you please teach me? Thanks so much!

qihaoliu0 avatar Nov 02 '22 08:11 qihaoliu0