source:
data/trunk/programs/ps_glow.cg
@
9414
Last change on this file since 9414 was 9408, checked in by davidsa, 12 years ago | |
---|---|
File size: 186 bytes |
Line | |
---|---|
1 | float4 main(uniform float alpha_value, uniform float time, uniform float4 color) : COLOR |
2 | { |
3 | color.w = alpha_value * ((sin(time * 5.0) / 3.14 + 1.0) / 2.0 ); |
4 | return color; |
5 | } |
Note: See TracBrowser
for help on using the repository browser.