Project:
Ducttape Engine
Code Location:
git://github.com/ducttape/ducttape-engine.gitmaster
glow.program.txt
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
fragment_program GlowA_fp cg { source glow.cg entry_point GlowA_fp default_params { param_named_auto invTexSize inverse_texture_size 0 //param_named_auto time time_0_2pi 1 } profiles ps_2_0 arbfp1 } material GlowCompositorMat/GlowA { technique { pass { cull_hardware none cull_software none depth_func always_pass fragment_program_ref GlowA_fp { } texture_unit map { tex_coord_set 0 tex_address_mode clamp filtering trilinear } } } } fragment_program GlowB_fp cg { source glow.cg entry_point GlowB_fp default_params { param_named_auto invTexSize inverse_texture_size 0 param_named_auto time time_0_2pi 4 } profiles ps_2_0 arbfp1 } material GlowCompositorMat/GlowB { technique { pass { cull_hardware none cull_software none depth_func always_pass fragment_program_ref GlowB_fp { } texture_unit scene { tex_coord_set 0 tex_address_mode clamp filtering trilinear } texture_unit map { tex_coord_set 0 tex_address_mode clamp filtering trilinear } } } }
