mirror of
https://github.com/MartinOpat/cuda-based-raytrace.git
synced 2025-06-07 02:13:10 +02:00
levoy transfer function
This commit is contained in:
1 parent
9f7700ae80
commit
5a629815e7
6 files changed
+17
-6
No files matched your search
@@ -134,8 +134,8 @@ __device__ float4 transferFunction(float density, const Vec3& grad, const Point3
|
||||
result.x = 0.0f;
|
||||
result.y = 0.0f;
|
||||
result.z = 0.0f;
|
||||
// result.w = alpha;
|
||||
result.w = d_opacityConst;
|
||||
result.w = alpha;
|
||||
// result.w = d_opacityConst;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||