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,10 @@
#include "common.h"
#define EPS (0.9f/255.f)
half4 main ( p_screen I ) : COLOR
{
// Sample the fat framebuffer:
half4 NH = tex2D (s_normal, I.tc0);
half L = NH.w * dot (Ldynamic_dir, (half3)NH) + EPS; // Use hemisphere as approximation of max light
return half4 (L,L,L,L);
}