Helper HUD to know if we're compositing layers with the GPU or not.

This commit is contained in:
Pierre-Loup A. Griffais 2019-12-12 23:34:01 -08:00 committed by Pierre-Loup A. Griffais
parent b966a74e0c
commit 97c81ee9fc

View file

@ -73,4 +73,10 @@ void main(
{
outImage [index] = outputValue;
}
// indicator to quickly tell if we're in the compositing path or not
if ( 0 && index.x > 50 && index.x < 100 && index.y > 50 && index.y < 100 )
{
outImage [index] = float4(1.0,0.0,1.0,1.0);
}
}