Commit 633d149b authored by MURRAY David's avatar MURRAY David
Browse files

remove comments in kernel

parent 628524a8
......@@ -120,43 +120,6 @@ RT_PROGRAM void material_eval()
current_prd.done = true;
return;
}
// int tmp = mat_index;
// switch(tmp) {
// case 0:
// {
// current_prd.result = make_float3(1.f, 0.f, 0.f);
// break;
// }
// case 1:
// {
// current_prd.result = make_float3(0.f, 1.f, 0.f);
// break;
// }
// case 2:
// {
// current_prd.result = make_float3(0.f, 0.f, 1.f);
// break;
// }
// case 3:
// {
// current_prd.result = make_float3(1.f, 1.f, 0.f);
// break;
// }
// case 4:
// {
// current_prd.result = make_float3(1.f, 0.f, 1.f);
// break;
// }
// case 5:
// {
// current_prd.result = make_float3(0.f, 1.f, 1.f);
// break;
// }
// }
// current_prd.done = true;
// return;
float3 hitpoint = ray.origin + t_hit * ray.direction;
float3 ffnormal = get_normal(shading_normal, true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment