11 lines
139 B
Plaintext
11 lines
139 B
Plaintext
struct v2f {
|
|
float f;
|
|
};
|
|
varying float var;
|
|
void main() {
|
|
v2f i;
|
|
i.f = var;
|
|
v2f i2 = i;
|
|
gl_FragColor = vec4(abs(i2.f));
|
|
}
|