source:
GTP/trunk/Lib/Illum/GPUObscurancesGT/bin/debug/depth.frag
@
930
Revision 930, 117 bytes checked in by igarcia, 19 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.