home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 August
/
chip_08_2000.iso
/
aktualnosci
/
shareware
/
Rhinoceros
/
rh11eval_20000320.exe
/
%MAINDIR%
/
RIB
/
rh_background.sl
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
2000-06-08
|
328 b
|
11 lines
// rh_background.sl -- a custom background shader for exporting Rhino
// scenes to RIB. This shader does not clear the alpha channel, in case
// the background happens to be black.
// It is based on background.sl by Larry Gritz.
imager rh_background (color bgcolor = 1)
{
Ci += (1-alpha) * bgcolor;
Oi = 1;
}