tweaked some groovy color effects, updated screeny. I think I might have added fog in this one too?

This commit is contained in:
MitchellHansen
2016-11-29 23:44:03 -08:00
parent 259f6a8488
commit c98adefa3a
5 changed files with 31 additions and 19 deletions

View File

@@ -3,7 +3,7 @@
Hardware_Caster::Hardware_Caster() {
}
@@ -36,6 +36,11 @@ int Hardware_Caster::init() {
return error;
}
srand(NULL);
int seed = rand();
create_buffer("seed", sizeof(int), &seed);
return 1;
}
@@ -80,6 +85,7 @@ void Hardware_Caster::validate()
set_kernel_arg("raycaster", 6, "lights");
set_kernel_arg("raycaster", 7, "light_count");
set_kernel_arg("raycaster", 8, "image");
set_kernel_arg("raycaster", 9, "seed");
print_kernel_arguments();
}