Added 4 color CGA shader

This commit is contained in:
Robert Beckebans 2024-07-31 21:27:36 +02:00
parent 676c970886
commit 9fb21205f1

View file

@ -134,6 +134,18 @@ void main( PS_IN fragment, out PS_OUT result )
RGB( 95, 199, 93 ),
};
#elif 1
// CGA
// https://lospec.com/palette-list/cga-mibend4
const float3 palette[NUM_COLORS] = // 4
{
RGB( 41, 31, 35 ),
RGB( 189, 80, 47 ),
RGB( 52, 209, 175 ),
RGB( 247, 236, 185 ),
};
#elif 0
// Hollow