mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
12 lines
311 B
Text
12 lines
311 B
Text
uniform vec4 _Color;
|
|
uniform sampler2D _Detail;
|
|
uniform sampler2D _MainTex;
|
|
varying vec4 xlv_TEXCOORD0;
|
|
varying vec4 xlv_TEXCOORD1;
|
|
void main ()
|
|
{
|
|
gl_FragData[0] = (((_Color * texture2D (_MainTex, xlv_TEXCOORD0.xy)) * texture2D (_Detail, xlv_TEXCOORD1.xy)) * 2.0);
|
|
}
|
|
|
|
|
|
// inputs: 2, stats: 3 alu 2 tex 0 flow
|