mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
13 lines
277 B
Scala
13 lines
277 B
Scala
$input v_position, v_texcoord0
|
|
|
|
/*
|
|
* Copyright 2015 Andrew Mac. All rights reserved.
|
|
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
*/
|
|
|
|
#include "../common/common.sh"
|
|
|
|
void main()
|
|
{
|
|
gl_FragColor = vec4(v_texcoord0.x, v_texcoord0.y, v_position.y / 50.0, 1.0);
|
|
}
|