1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00

Hacks to make RGB1 visible (in a fashion).

This commit is contained in:
Thomas Harte 2020-08-09 20:45:51 -04:00
parent 93c6105442
commit a118594c8b

View File

@ -93,5 +93,5 @@ fragment half4 scanFragmentMain(ColouredVertex vert [[stage_in]], texture2d<floa
address::clamp_to_zero, // This really makes no difference here; anything Metal will accept will do.
filter::nearest);
return half4(texture.sample(s, vert.textureCoordinates));
return half4(texture.sample(s, vert.textureCoordinates) * 32.0f); // Multiply by 32 is _TEMPORARY TEST CODE_ [/ nonsense].
}