A VEX noise light.
A .vfl file that creates a noisy light.
Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Friday August 01st, 2008 02:15 AM
light
d_light
(
vector freq = 10, offset = 0;
int whichnoise=0;
)
{
vector PP,newcolor;
float r,g,b;
PP = wo_space(Ps)*freq+offset;
if (!whichnoise) {
assign(r,g,b,anoise(PP));
} else {
assign(r,g,b,noise(PP));
}
set(newcolor,r,g,b);
Cl = newcolor;
}
Downloads:
Download: noise_light.vfl 396 B
Please login or Click Here to register for downloads
Noise Light by Dan Lynch
is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License
Based on a work at www.3daet.com
Permissions beyond the scope of this license may be available at http://www.3daet.com
