add game&rawdata

This commit is contained in:
Vasily Petrov 2026-06-17 23:06:51 +03:00
parent 0133cd976c
commit 49b34b5546
45731 changed files with 709831 additions and 0 deletions

View file

@ -0,0 +1,19 @@
#include "common.h"
half4 main ( half4 C:COLOR0 ) : COLOR
{
half4 result;
#ifdef USE_VTF
result.rgb = C;
#else
half4 high;
half scale = tex2D(s_tonemap,half2(.5h,.5h)).x;
// tonemap (result, high, C, scale*0.9);
tonemap (result, high, C, scale);
#endif
result.a = C.a;
return result;
}