blob: 899cec9aa3d7deee9d7a823a9566eddec2b05c6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
[require]
GLSL >= 1.30
[vertex shader]
#version 130
void main()
{
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
}
[fragment shader]
#version 130
void main() {
const float f_154 = cosh(1.0);
const float f_376 = cosh(2.0);
const float f_1006 = cosh(-3.0);
gl_FragColor = vec4(f_154 - 1.0, f_376 - 3.0, f_1006 - 10.0, 1.0);
}
[test]
clear color 0.0 0.0 0.0 0.0
clear
ortho
draw rect 10 10 10 10
probe rgb 15 15 0.54308063481524 0.76219569108363 0.0676619957778 1.0
|