mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
10 lines
167 B
Text
10 lines
167 B
Text
|
uniform float _Shininess;
|
||
|
void main ()
|
||
|
{
|
||
|
vec4 res;
|
||
|
res.xyz = ((gl_TexCoord[0].xyz * vec3(0.5, 0.5, -0.5)) + 0.5);
|
||
|
res.w = _Shininess;
|
||
|
gl_FragData[0] = res;
|
||
|
}
|
||
|
|