21 lines
446 B
PostScript
21 lines
446 B
PostScript
#include "common.h"
|
|
|
|
struct v2p
|
|
{
|
|
half2 tc0: TEXCOORD0; // base
|
|
half2 tc1: TEXCOORD1; // base
|
|
};
|
|
|
|
uniform sampler2D s_base0;
|
|
uniform sampler2D s_base1;
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////////////
|
|
// Pixel
|
|
half4 main_ps_1_1 ( v2p I ) : COLOR
|
|
{
|
|
half4 t_0 = tex2D (s_base0,I.tc0);
|
|
half4 t_1 = tex2D (s_base1,I.tc1);
|
|
|
|
// out
|
|
return t_0*t_1*L_dynamic_color;
|
|
}
|