home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NVIDIA Tech Demo: DAWN
/
NVIDIA_demo.iso
/
Dawn.exe
/
Disk1
/
data1.cab
/
Program_Executable_Files
/
shaders_ultra
/
_texture.fp30
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
2003-02-11
|
318 b
|
17 lines
struct v2fConnector : vertex2fragment {
float4 WPos:WPOS;
float2 texture:TEX0;
};
struct f2fConnector : fragment2framebuffer {
float4 COL;
};
f2fConnector main(v2fConnector v2f,
uniform texobj2D texture){
f2fConnector f2f;
f2f.COL = f4tex2D(texture, v2f.texture);
return f2f;
}