source: trunk/vizservers/nanovis/shaders/heightcolor.cg @ 884

Last change on this file since 884 was 776, checked in by vrinside, 17 years ago

Add 3D surface plot and grid rendering

File size: 178 bytes
Line 
1
2float4 main(float4 texCoord : TEXCOORD0,
3        uniform sampler1D tf) : COLOR
4{
5        float4 color;
6        color.xyz = tex1D(tf, texCoord.z).xyz;
7        color.w = 1.0f;
8        return color;
9}
Note: See TracBrowser for help on using the repository browser.