mirror of
https://github.com/MartinOpat/cuda-based-raytrace.git
synced 2025-06-07 02:13:10 +02:00
improved camera controls
This commit is contained in:
1 parent
9352a30bdf
commit
bae68db6b8
6 files changed
+66
-9
No files matched your search
@@ -111,7 +111,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 = alpha;
|
||||
result.w = d_opacityConst;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||