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,25 @@
#include "common.h"
struct v2p
{
half4 factor: COLOR0;
half3 tc0: TEXCOORD0;
half3 tc1: TEXCOORD1;
};
uniform sampler2D s_sun0;
uniform sampler2D s_sun1;
uniform half4 color; // lerped color + alpha for alpha blend
//////////////////////////////////////////////////////////////////////////////////////////
// Pixel
half4 main_ps_1_1 ( v2p I ) : COLOR
{
half3 s0 = tex2D(s_sun0,I.tc0);
half3 s1 = tex2D(s_sun1,I.tc1);
half3 sun = color*lerp(s0,s1,I.factor.w);
return half4 (sun,color.w);
}