Last change
on this file since 1519 was
1518,
checked in by sam, 11 years ago
|
build: reorganise all the build stuff so that it lies in build/ and
make sure each .vcxproj file is with its corresponding source code.
|
File size:
498 bytes
|
Line | |
---|
1 | -- GLSL.Vert -- |
---|
2 | |
---|
3 | #version 120 |
---|
4 | |
---|
5 | attribute vec2 in_Position; |
---|
6 | |
---|
7 | void main(void) |
---|
8 | { |
---|
9 | gl_Position = vec4(in_Position, 0.0, 1.0); |
---|
10 | } |
---|
11 | |
---|
12 | -- GLSL.Frag -- |
---|
13 | |
---|
14 | #version 120 |
---|
15 | |
---|
16 | void main(void) |
---|
17 | { |
---|
18 | gl_FragColor = vec4(0.7, 0.2, 0.5, 1.0); |
---|
19 | } |
---|
20 | |
---|
21 | -- HLSL.Vert -- |
---|
22 | |
---|
23 | void main(float2 in_Position : POSITION, |
---|
24 | out float4 out_Position : POSITION) |
---|
25 | { |
---|
26 | out_Position = float4(in_Position, 0.0, 1.0); |
---|
27 | } |
---|
28 | |
---|
29 | -- HLSL.Frag -- |
---|
30 | |
---|
31 | void main(out float4 out_FragColor : COLOR) |
---|
32 | { |
---|
33 | out_FragColor = float4(0.7, 0.2, 0.5, 1.0); |
---|
34 | } |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.