mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 00:31:28 -05:00
10 lines
270 B
Text
10 lines
270 B
Text
varying vec4 xlv_TEXCOORD1;
|
|
varying vec4 xlv_TEXCOORD0;
|
|
uniform sampler2D _MainTex;
|
|
uniform sampler2D _Detail;
|
|
uniform vec4 _Color;
|
|
void main ()
|
|
{
|
|
gl_FragData[0] = (((_Color * texture2D (_MainTex, xlv_TEXCOORD0.xy)) * texture2D (_Detail, xlv_TEXCOORD1.xy)) * 2.0);
|
|
}
|
|
|