source:
GTP/trunk/Lib/Illum/GPUObscurancesGT/src/depth.frag
@
930
Revision 930, 117 bytes checked in by igarcia, 18 years ago (diff) |
---|
Line | |
---|---|
1 | varying vec3 lightVect; |
2 | |
3 | void main() |
4 | { |
5 | float a= length(lightVect); |
6 | gl_FragColor = vec4(a, a * a, 0.0, 0.0); |
7 | } |
Note: See TracBrowser
for help on using the repository browser.