Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/programs/ps_glow.cg @ 9408

Last change on this file since 9408 was 9408, checked in by davidsa, 12 years ago

Added: rudimentary stencil outline glow shader, very basic and looks pretty ugly, but good enough to test stencil buffer functionality

File size: 186 bytes
Line 
1float4 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.